Skip to content

Instantly share code, notes, and snippets.

@vadimdemedes
Last active December 15, 2015 07:09
Show Gist options
  • Save vadimdemedes/5220940 to your computer and use it in GitHub Desktop.
Save vadimdemedes/5220940 to your computer and use it in GitHub Desktop.
<script class="my-template" type="application/x-template">
<div>
<h1>I am a template</h1>
</div>
</script>
<script>
var template = new Chute.View.Template({
selector: 'script.my-template'
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment