Skip to content

Instantly share code, notes, and snippets.

@cfsilence
Created July 16, 2012 00:06
Show Gist options
  • Save cfsilence/3119318 to your computer and use it in GitHub Desktop.
Save cfsilence/3119318 to your computer and use it in GitHub Desktop.
<script>
var source = $("#entry-template").html();
var template = Handlebars.compile(source);
</script>
<script id="entry-template" type="text/x-handlebars-template">
template content {{boundVar}}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment