Skip to content

Instantly share code, notes, and snippets.

@w33ble
Created June 3, 2013 15:16
Show Gist options
  • Save w33ble/5698920 to your computer and use it in GitHub Desktop.
Save w33ble/5698920 to your computer and use it in GitHub Desktop.
Grunt compiled Handlebars templates via 1.0.11
define(['handlebars'], function(Handlebars) {
this["JST"] = this["JST"] || {};
this["JST"]["book/ListItem"] = Handlebars.template(function (Handlebars,depth0,helpers,partials,data) {
this.compilerInfo = [3,'>= 1.0.0-rc.4'];
helpers = helpers || Handlebars.helpers; data = data || {};
var buffer = "", stack1, functionType="function", escapeExpression=this.escapeExpression;
buffer += "<li class=\"book\">"
+ escapeExpression(((stack1 = ((stack1 = depth0.book),stack1 == null || stack1 === false ? stack1 : stack1.name)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
+ "</li>";
return buffer;
});
this["JST"]["book/View"] = Handlebars.template(function (Handlebars,depth0,helpers,partials,data) {
this.compilerInfo = [3,'>= 1.0.0-rc.4'];
helpers = helpers || Handlebars.helpers; data = data || {};
var buffer = "", stack1, functionType="function", escapeExpression=this.escapeExpression;
buffer += "<h1>"
+ escapeExpression(((stack1 = ((stack1 = depth0.book),stack1 == null || stack1 === false ? stack1 : stack1.name)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
+ "</h1>\n<div>A smashing title written by <strong>"
+ escapeExpression(((stack1 = ((stack1 = depth0.book),stack1 == null || stack1 === false ? stack1 : stack1.author)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
+ "</strong></div>\n<div>Genre: "
+ escapeExpression(((stack1 = ((stack1 = depth0.book),stack1 == null || stack1 === false ? stack1 : stack1.genre)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
+ "</div>";
return buffer;
});
return this["JST"];
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment