You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
render : function(object, extra_helpers){
object = object || {}
this._extra_helpers = extra_helpers;
var v = new EJS.Helpers(object, extra_helpers || {});
return this.template.process.call(object, object,v);
},
this should be:
render : function(object, extra_helpers){
object = typeof object == "undefined" ? {} : object;
this._extra_helpers = extra_helpers;
var v = new EJS.Helpers(object, extra_helpers || {});
return this.template.process.call(object, object,v);
},
otherwise if object is 0 it will make a {} out of it
Original issue reported on code.google.com by mendri...@gmail.com on 23 May 2013 at 12:32
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
mendri...@gmail.com
on 23 May 2013 at 12:32The text was updated successfully, but these errors were encountered: