Fixed jslint errors

This commit is contained in:
Henry
2015-10-15 13:10:03 -07:00
parent efb7611f6e
commit 688718cad0

View File

@ -120,9 +120,8 @@ GLOBAL.window = GLOBAL.window || GLOBAL; // nomnoml expects window to be define
function strip() { function strip() {
var patternsToStrip = [ var patternsToStrip = [
"^<!--" "^<!--"],
] transform = new stream.Transform({ objectMode: true });
var transform = new stream.Transform({ objectMode: true });
transform._transform = function (chunk, encoding, done) { transform._transform = function (chunk, encoding, done) {
//If chunk does not match pattern, keep it, else discard (by not //If chunk does not match pattern, keep it, else discard (by not
// pushing into stream) // pushing into stream)
@ -130,7 +129,7 @@ GLOBAL.window = GLOBAL.window || GLOBAL; // nomnoml expects window to be define
this.push(chunk); this.push(chunk);
} }
done(); done();
} };
return transform; return transform;
} }