Browse Source

Remove process.mixin dependency from fs

v0.7.4-release
isaacs 15 years ago
committed by Ryan Dahl
parent
commit
a38aa02f9f
  1. 6
      lib/fs.js

6
lib/fs.js

@ -444,7 +444,8 @@ var FileReadStream = exports.FileReadStream = function(path, options) {
this.mode = 0666; this.mode = 0666;
this.bufferSize = 4 * 1024; this.bufferSize = 4 * 1024;
process.mixin(this, options || {}); options = options || {};
for (var i in options) this[i] = options[i];
var var
self = this, self = this,
@ -555,7 +556,8 @@ var FileWriteStream = exports.FileWriteStream = function(path, options) {
this.encoding = 'binary'; this.encoding = 'binary';
this.mode = 0666; this.mode = 0666;
process.mixin(this, options || {}); options = options || {};
for (var i in options) this[i] = options[i];
var var
self = this, self = this,

Loading…
Cancel
Save