Last active
January 3, 2016 05:49
-
-
Save whyvez/8418714 to your computer and use it in GitHub Desktop.
example of what a polymer element could look like using language preprocessors.
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
link(rel="import", href="../bower_components/polymer/polymer.html") | |
polymer-element(name="my-element") | |
template(type="jade") | |
h1 This is my element | |
style(type="stylus") | |
h1 | |
color red | |
script(type="coffeescript") | |
Polymer 'my-element', | |
ready: () -> | |
console.log "ready!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment