This website works better with JavaScript.
Home
Explore
Help
Sign In
jan
/
mustache.js
mirror of
https://github.com/janl/mustache.js
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
46
Wiki
Activity
Browse Source
Don't join and return the buffer with custom send functions.
tags/0.2.3
Jan Lehnardt
16 years ago
parent
17fa3c7b89
commit
3944cfc8cc
1 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
mustache.js
+ 3
- 1
mustache.js
View File
@@ -286,7 +286,9 @@ var Mustache = function() {
renderer.send = send_fun;
}
renderer.render(template, view, partials);
return renderer.buffer.join("\n");
if(!send_fun) {
return renderer.buffer.join("\n");
}
}
});
}();
Write
Preview
Loading…
Cancel
Save