Skip to content
Browse files

updated: Compatible with the upcoming node v0.5.0-pre.

  • Loading branch information...
1 parent b8cb708 commit 72bd5317e8a71066f698444edef704bdb36eae9e @gf3 committed Apr 22, 2011
Showing with 7 additions and 4 deletions.
  1. +6 −3 lib/shovel.js
  2. +1 −1 package.json
View
9 lib/shovel.js
@@ -4,11 +4,14 @@
/* ------------------------------ INIT ------------------------------ */
var util = require( 'util' )
, code
- , result
, console
- , stdin
- , Script = process.binding('evals').Script
+ , result
, sandbox
+ , Script
+ , stdin
+
+if ( ! ( Script = process.binding( 'evals').NodeScript ) )
+ Script = process.binding('evals').Script
/* ------------------------------ Sandbox ------------------------------ */
// Sandbox methods
View
2 package.json
@@ -5,7 +5,7 @@
, "contributors":
[ "Dominic Tarr (http://cyber-hobo.blogspot.com)"
]
-, "version" : "0.7.0"
+, "version" : "0.8.0"
, "main" : "./lib/sandbox"
, "directories" : { "lib" : "./lib" }
, "engines" : [ "node >=0.3.0-pre" ]

0 comments on commit 72bd531

Please sign in to comment.
Something went wrong with that request. Please try again.