Created
December 1, 2013 03:41
-
-
Save hden/7728269 to your computer and use it in GitHub Desktop.
Polymer.js error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| event.returnValue is deprecated. Please use the standard event.preventDefault() instead. wrappers.js:141 | |
| Uncaught TypeError: Object #<Object> has no method 'created' base.js:21 | |
| Uncaught TypeError: Object #<Object> has no method 'prepareElement' base.js:50 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="//cdnjs.cloudflare.com/ajax/libs/polymer/0.0.20131107/polymer.min.js"></script> | |
| <link rel="import" href="tk-element.html"> | |
| </head> | |
| <body> | |
| <tk-element></tk-element> | |
| </body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <polymer-element name="tk-element" noscript> | |
| <template> | |
| <span>I'm <b>tk-element</b>. This is my Shadow DOM.</span> | |
| </template> | |
| </polymer-element> |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Copied from http://www.polymer-project.org/getting-started.html