dalejung / inode

Interactive Node.js
MIT License
3 stars 1 forks source link

errors in %run will keep lines from being put into global scope #27

Open dalejung opened 11 years ago

dalejung commented 11 years ago

If a file errors midway, everything that executed correctly won't be added to global. We should add the valid variables after error

dalejung commented 11 years ago

also notice that this breaks up arrow, rawmode turned off?

dalejung commented 11 years ago

Need to move js_run to contextify because vm copies the sandbox values AFTER execution which doesn't happen in an error.