Permalink
Browse files

Updated for latest changes in Node

  • Loading branch information...
1 parent 3b60ae9 commit 8fb40d102d332f9b713dd2cf62eec4f874dfa54c @kriszyp kriszyp committed Feb 24, 2010
Showing with 5 additions and 2 deletions.
  1. +3 −0 engines/node/lib/file.js
  2. +2 −2 engines/node/lib/packages.js
View
@@ -0,0 +1,3 @@
+var fs = require("fs");
+exports.read = fs.readFileSync;
+exports.write = fs.writeFileSync;
@@ -1,3 +1,3 @@
-var posix = require("posix");
+var fs = require("fs");
-exports.root = JSON.parse(posix.cat("local.json").wait());
+exports.root = JSON.parse(fs.readFileSync("local.json"));

0 comments on commit 8fb40d1

Please sign in to comment.