reverting stylistic change from parent commit

This commit is contained in:
Michael Ficarra 2011-08-16 10:53:08 -03:00
parent 5b115ddb74
commit 3ef0c1c88a
1 changed files with 4 additions and 2 deletions

View File

@ -102,8 +102,10 @@ exports.eval = (code, options = {}) ->
o[k] = v for own k, v of options
o.bare = on # ensure return value
js = compile code, o
if Script then Script.runInContext js, sandbox
else eval js
if Script
Script.runInContext js, sandbox
else
eval js
# Instantiate a Lexer for our use here.
lexer = new Lexer