Permalink
Browse files

Enable ECMAScript Harmony Collections in V8 sandbox

  • Loading branch information...
1 parent c8179d8 commit 2ac845e6fdb2376ec846ebf36511528b345e2db7 @dsamarin dsamarin committed Jul 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/sandbox/index.js
View
2 lib/sandbox/index.js
@@ -37,7 +37,7 @@ Sandbox.prototype.run = function(engine, timeout, code, hollaback, object) {
switch (engine) {
case Sandbox.V8:
- child = Spawn("node", [Path.join(__dirname, "v8", "shovel.js"), this.utils]);
+ child = Spawn("node", ["--harmony_collections", Path.join(__dirname, "v8", "shovel.js"), this.utils]);
break;
case Sandbox.Haskell:
return this.runHaskell(timeout, code, hollaback, object);

0 comments on commit 2ac845e

Please sign in to comment.