Permalink
Browse files

Merge pull request #31 from ajaxorg/master

lower the NodeJS version requirement
  • Loading branch information...
2 parents b0c70ff + f536bc6 commit 0b7e1197b0c3be4f6c9988f436698d8e15814e85 @joewalker joewalker committed Nov 21, 2012
Showing with 5 additions and 1 deletion.
  1. +4 −0 lib/dryice/index.js
  2. +1 −1 package.json
View
@@ -18,6 +18,10 @@ var fs = require("fs");
var path = require("path");
var ujs = require("uglify-js");
+if (!fs.existsSync) {
+ fs.existsSync = path.existsSync;
+}
+
/**
* See https://github.com/mozilla/dryice for usage instructions.
*/
View
@@ -13,7 +13,7 @@
"bugs": { "url": "http://github.com/mozilla/dryice/issues" },
"directories": { "lib" : "./lib" },
"main": "./lib/dryice/index.js",
- "engines": { "node" : ">=0.8.0" },
+ "engines": { "node" : ">=0.6.0" },
"licenses": [
{ "type": "Apache-2.0", "url": "http://www.apache.org/licenses/LICENSE-2.0" }
],

0 comments on commit 0b7e119

Please sign in to comment.