Comparing version 0.1.2 to 0.2.0
@@ -6,3 +6,3 @@ { | ||
"description": "tail a file in node", | ||
"version": "0.1.2", | ||
"version": "0.2.0", | ||
"repository": { | ||
@@ -9,0 +9,0 @@ "type": "git", |
11
tail.js
@@ -31,12 +31,5 @@ var Tail, environment, events, fs; | ||
if (this.queue.length >= 1) { | ||
this.internalDispatcher.emit("next"); | ||
return this.internalDispatcher.emit("next"); | ||
} | ||
return this.emit('end'); | ||
}, this)); | ||
stream.on('close', __bind(function() { | ||
return this.emit('close'); | ||
}, this)); | ||
stream.on('fd', __bind(function(fd) { | ||
return this.emit('fd', fd); | ||
}, this)); | ||
return stream.on('data', __bind(function(data) { | ||
@@ -50,3 +43,3 @@ var chunk, parts, _i, _len, _results; | ||
chunk = parts[_i]; | ||
_results.push(this.emit("data", chunk)); | ||
_results.push(this.emit("line", chunk)); | ||
} | ||
@@ -53,0 +46,0 @@ return _results; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2806
71