Ejemplo n.º 1
0
 functionCall: function(varName, args) {
     if (!this.hasErrors()) {
         args = arrayFromArguments(arguments, 1);
         this.writer.functionCall(varName, args);
     }
     return this;
 },
Ejemplo n.º 2
0
 contextHelperMethodCall: function (methodName, args) {
     if (!this.hasErrors()) {
         args = arrayFromArguments(arguments, 1);
         args.unshift('out');
         this.writer.functionCall('__helpers.' + methodName, args);
     }
     return this;
 },