[Pkg-javascript-commits] [node-stream-splicer] 30/71: multipush works
Bastien Roucariès
rouca at moszumanska.debian.org
Fri Dec 15 09:55:49 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-stream-splicer.
commit d6f0fab2d1227ce22b103e4403bdac53a81ad9eb
Author: James Halliday <mail at substack.net>
Date: Mon Jun 9 14:06:03 2014 -0700
multipush works
---
index.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/index.js b/index.js
index 1dc916a..e934caf 100644
--- a/index.js
+++ b/index.js
@@ -86,7 +86,8 @@ Pipeline.prototype._notEmpty = function () {
};
Pipeline.prototype.push = function (stream) {
- this.splice(this._streams.length, 0, stream);
+ var args = [ this._streams.length, 0 ].concat([].slice.call(arguments));
+ this.splice.apply(this, args);
return this._streams.length;
};
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-stream-splicer.git
More information about the Pkg-javascript-commits
mailing list