Lines Matching refs:cb
26 function callbackAsap(cb, err, res) { argument
28 cb(err, res);
38 root: function root(env, context, frame, runtime, cb) {
40 cb(null, '');
42 cb(handleError(e, null, null));
190 _proto.getTemplate = function getTemplate(name, eagerCompile, parentName, ignoreMissing, cb) { argument
199 cb = parentName;
204 cb = eagerCompile;
224 if (cb) {
225 cb(null, tmpl);
237 if (cb) {
238 cb(err);
253 if (cb) {
254 cb(null, newTmpl);
284 _proto.render = function render(name, ctx, cb) { argument
286 cb = ctx;
296 if (err && cb) {
297 callbackAsap(cb, err);
301 syncResult = tmpl.render(ctx, cb);
306 _proto.renderString = function renderString(src, ctx, opts, cb) { argument
308 cb = opts;
313 return tmpl.render(ctx, cb);
365 _proto2.getSuper = function getSuper(env, name, block, frame, runtime, cb) { argument
372 blk(env, context, frame, runtime, cb);
422 _proto3.render = function render(ctx, parentFrame, cb) { argument
425 cb = ctx;
428 cb = parentFrame;
443 if (cb) {
444 return callbackAsap(cb, err);
459 if (didError && cb && typeof res !== 'undefined') {
467 if (cb) {
469 callbackAsap(cb, err, res);
471 cb(err, res);
482 _proto3.getExported = function getExported(ctx, parentFrame, cb) { argument
485 cb = ctx;
489 cb = parentFrame;
497 if (cb) {
498 return cb(e);
510 cb(err, null);
512 cb(null, context.getExported());