build/joosy.js in joosy-1.2.0.alpha.66 vs build/joosy.js in joosy-1.2.0.alpha.67

- old
+ new

@@ -930,10 +930,11 @@ included: function() { this.view = function(template, options) { if (options == null) { options = {}; } + this.prototype.__view = template; return this.prototype.__renderDefault = function(locals) { if (locals == null) { locals = {}; } if (options.dynamic) { @@ -1024,13 +1025,17 @@ if (locals == null) { locals = {}; } return _this.renderDynamic(template, locals, parentStackPointer); }, - renderInline: function(locals, template) { + renderInline: function(locals, partial) { + var template; if (locals == null) { locals = {}; } + template = function(params) { + return partial.apply(params); + }; return _this.renderDynamic(template, locals, parentStackPointer); } }; }, __render: function(dynamic, template, locals, parentStackPointer) {