Browse Source

Use process.mixin instead of sys.mixin

The process namespace has not been cleaned up yet, so mixin is still
attached to process.
v0.7.4-release
Felix Geisendörfer 15 years ago
parent
commit
9415ca909e
  1. 4
      lib/fs.js

4
lib/fs.js

@ -1,5 +1,3 @@
var sys = require('sys');
exports.Stats = process.Stats; exports.Stats = process.Stats;
process.Stats.prototype._checkModeProperty = function (property) { process.Stats.prototype._checkModeProperty = function (property) {
@ -391,7 +389,7 @@ var FileWriteStream = exports.FileWriteStream = function(path, options) {
this.encoding = 'binary'; this.encoding = 'binary';
this.mode = 0666; this.mode = 0666;
sys.mixin(this, options || {}); process.mixin(this, options || {});
var var
self = this, self = this,

Loading…
Cancel
Save