diff --git a/app/run.js b/app/run.js index fe0a3e2..2f59149 100755 --- a/app/run.js +++ b/app/run.js @@ -10,7 +10,7 @@ // load the node.js libraries to be abstracted var fs = require('fs'); var path = require('path'); -var Script = process.binding('evals').Script; +var Script = require('vm').Script; // define a few globals to be compatible with jsrun.jar global.arguments = global.internal_args || process.argv.slice(2); diff --git a/package.json b/package.json index bb0cb45..e2345ac 100644 --- a/package.json +++ b/package.json @@ -13,8 +13,8 @@ "test": "app/test.js" }, "engines": { - "node": "0.4" + "node": ">=0.4" }, "dependencies": {}, "devDependencies": {} -} \ No newline at end of file +}