|
|
@@ -17,6 +17,9 @@ var Mustache = function() { |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
render: function(template, context, partials, in_recursion) { |
|
|
render: function(template, context, partials, in_recursion) { |
|
|
|
|
|
// reset buffer |
|
|
|
|
|
// TODO: make this non-lazy |
|
|
|
|
|
this.buffer = []; |
|
|
// fail fast |
|
|
// fail fast |
|
|
if(!this.includes("", template)) { |
|
|
if(!this.includes("", template)) { |
|
|
if(in_recursion) { |
|
|
if(in_recursion) { |
|
|
|