Lines Matching defs:Handlebars
6 var Handlebars = {};
8 Handlebars.VERSION = "1.0.beta.5";
10 Handlebars.helpers = {};
11 Handlebars.partials = {};
13 Handlebars.registerHelper = function(name, fn, inverse) {
18 Handlebars.registerPartial = function(name, str) {
22 Handlebars.registerHelper('helperMissing', function(arg) {
32 Handlebars.registerHelper('blockHelperMissing', function(context, options) {
59 Handlebars.registerHelper('each', function(context, options) {
73 Handlebars.registerHelper('if', function(context, options) {
77 if(!context || Handlebars.Utils.isEmpty(context)) {
84 Handlebars.registerHelper('unless', function(context, options) {
89 return Handlebars.helpers['if'].call(this, context, options);
92 Handlebars.registerHelper('with', function(context, options) {
96 Handlebars.registerHelper('log', function(context) {
97 Handlebars.log(context);