Created
October 3, 2014 15:27
-
-
Save genecyber/e2e8f08d7ede7288cb36 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
var source = $("#leftModule").html(); | |
var template = Handlebars.compile(source); | |
var data = { | |
Title:"Handled", | |
Items: [ | |
{Name: "Foo" }, | |
{Name: "Bar" }, | |
{Name: "Code" }, | |
{Name: "Monkey" } | |
]}; | |
$(".handleIt").html(template(data)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment