Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

lint

  • Loading branch information...
commit 52fe7dd71aab12f9b3b2fc010495e81fb326a1a4 1 parent 1978faf
@Floby authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 lib/template.js
View
6 lib/template.js
@@ -90,7 +90,9 @@ Template.prototype.run = function run() {
self.emit('error', e);
return false;
}
- var tpl = "(function compiled_template(print, include, data, filters) {" + tpl + "})";
+ var tpl = "(function compiled_template(print, include, data, filters) {"
+ + tpl
+ + "})";
try {
var script = new Script(tpl, self.filename);
} catch(e) {
@@ -128,7 +130,7 @@ Template.prototype._newData = function _newData(logme) {
}
// flush as much as possible from the
- // current buffer
+ // head buffer
if(this._buffers[0] && !this._buffers[0].isEmpty()) {
this._write(this._buffers[0].getData());
this._buffers[0].flush();
Please sign in to comment.
Something went wrong with that request. Please try again.