Skip to content

Instantly share code, notes, and snippets.

@hden
Created December 1, 2013 03:41
Show Gist options
  • Select an option

  • Save hden/7728269 to your computer and use it in GitHub Desktop.

Select an option

Save hden/7728269 to your computer and use it in GitHub Desktop.
Polymer.js error
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
<!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>
<polymer-element name="tk-element" noscript>
<template>
<span>I'm <b>tk-element</b>. This is my Shadow DOM.</span>
</template>
</polymer-element>
@hden
Copy link
Author

hden commented Dec 1, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment