Skip to content
  • 6 commits
  • 3 files changed
  • 0 commit comments
  • 2 contributors
Showing with 10 additions and 2 deletions.
  1. +5 −0 .gitignore
  2. +2 −1 lib/writable_streambuffer.js
  3. +3 −1 package.json
View
5 .gitignore
@@ -0,0 +1,5 @@
+*.un~
+/node_modules/*
+/test/tmp
+/.idea
+*.iml
View
3 lib/writable_streambuffer.js
@@ -81,7 +81,8 @@ var WritableStreamBuffer = module.exports = function(opts) {
};
this.end = function() {
- if(arguments) that.write.apply(that, arguments);
+ args = Array.prototype.slice.apply(arguments);
+ if(args.length) that.write.apply(that, args);
that.destroy();
};
View
4 package.json
@@ -1,12 +1,14 @@
{
"name": "stream-buffers",
- "version": "0.2.1",
+ "version": "0.2.2",
"description": "Buffer-backed Streams for reading and writing.",
"keywords": "memory streams, buffer streams",
"author": "Sam Day <sam.c.day@gmail.com>",
"main": "./lib/streambuffer.js",
"engines": { "node": ">= 0.3.0" },
"dependencies": {
+ },
+ "devDependencies": {
"vows": ">= 0.5.6"
},
"repository" : {

No commit comments for this range

Something went wrong with that request. Please try again.