pierrec / node-eval

Evaluate node require() module content directly
MIT License
93 stars 16 forks source link

Default for `includeGlobals` is not true. #7

Closed reggi closed 9 years ago

pierrec commented 9 years ago

Hello,

Indeed includeGlobals is false by default. The documentation was fixed accordingly. Is this your issue?

reggi commented 9 years ago

Hey, I got it working, I had to provide empty object (couldn't provide just false) and true to get to the arg.

https://github.com/reggi/evalmd/blob/master/test-markdown.js#L58

pierrec commented 9 years ago

Ok.