Lines Matching defs:Handlebars
5 Handlebars parser and compiler. Use this module when you need to compile
6 Handlebars templates.
22 @for Handlebars
24 Handlebars.logger.log = function (level, message) {
25 Y.log(message, levels[level] || 'error', 'Handlebars');
29 Compiles and renders a Handlebars template string in a single step.
39 Y.Handlebars.render('The pie of the day is {{pie}}!', {
45 @param {String} string Handlebars template string to render.
53 Handlebars.render = function (string, context, options) {
54 return Handlebars.compile(string)(context, options);
57 // The rest of this file is just API docs for methods defined in Handlebars
61 Compiles a Handlebars template string into a function. To render the template,
66 var template = Y.Handlebars.compile('The pie of the day is {{pie}}!.');
71 @param {String} string Handlebars template string to compile.
77 Precompiles a Handlebars template string into a string of JavaScript code. This
83 function to `Y.Handlebars.template()` to get back an executable template
87 @param {String} string Handlebars template string to compile.