Fix undefined reference in fs.js
authorRyan Dahl <ry@tinyclouds.org>
Thu, 11 Mar 2010 22:32:10 +0000 (14:32 -0800)
committerRyan Dahl <ry@tinyclouds.org>
Thu, 11 Mar 2010 22:32:10 +0000 (14:32 -0800)
lib/fs.js

index 28e52bd..f9eae9b 100644 (file)
--- a/lib/fs.js
+++ b/lib/fs.js
@@ -1,6 +1,8 @@
 var sys = require('./sys'),
     events = require('events');
 
+var fs = exports;
+
 exports.Stats = process.Stats;
 
 process.Stats.prototype._checkModeProperty = function (property) {