Created
September 26, 2014 09:28
-
-
Save ionelmc/d50dab84fb3578164c30 to your computer and use it in GitHub Desktop.
// source http://jsbin.com/puyuzecebudo/1
This file contains 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="http://cdnjs.cloudflare.com/ajax/libs/paper.js/0.9.12/paper.js"></script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<script src="http://www.polymer-project.org/platform.js"></script> | |
<link rel="import" href="http://www.polymer-project.org/components/polymer/polymer.html"> | |
<style id="jsbin-css"> | |
asdfsadfadsf | |
</style> | |
</head> | |
<body> | |
<polymer-element name="my-element" noscript> | |
<template> | |
<span>Hello from <b>my-element</b>. This is my Shadow DOM.</span> | |
</template> | |
</polymer-element> | |
<my-element></my-element> | |
<script id="jsbin-javascript"> | |
asdfasdfasdf | |
</script> | |
<script id="jsbin-source-html" type="text/html"><!DOCTYPE html> | |
<html> | |
<head> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/paper.js/0.9.12/paper.js"><\/script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<script src="http://www.polymer-project.org/platform.js"><\/script> | |
<link rel="import" href="http://www.polymer-project.org/components/polymer/polymer.html"> | |
</head> | |
<body> | |
<polymer-element name="my-element" noscript> | |
<template> | |
<span>Hello from <b>my-element</b>. This is my Shadow DOM.</span> | |
</template> | |
</polymer-element> | |
<my-element></my-element> | |
</body> | |
</html></script> | |
</body> | |
</html> |
This file contains 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
asdfsadfadsf |
This file contains 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
asdfasdfasdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment