gf3 / sandbox

A nifty JavaScript sandbox for Node.js
ISC License
844 stars 123 forks source link

Script declaration in Shovel.js is causing errors #6

Closed shanez closed 13 years ago

shanez commented 13 years ago

I had to rewrite:

Script = process.binding('evals').Script

to

Script = process.binding('evals').NodeScript

in shovel.js (line 10) otherwise Script is undefined and execution fails on line 38.

gf3 commented 13 years ago

What version of node are you using?

shanez commented 13 years ago

v0.5.0-pre

cloned from github

gf3 commented 13 years ago

I'll update the source to try both.

gf3 commented 13 years ago

Fixed in 72bd5317e8a71066f698444edef704bdb36eae9e (aka version 0.8.0).