Skip to content

Instantly share code, notes, and snippets.

@whyvez
Last active January 3, 2016 05:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whyvez/8418714 to your computer and use it in GitHub Desktop.
Save whyvez/8418714 to your computer and use it in GitHub Desktop.
example of what a polymer element could look like using language preprocessors.
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