On Thu, Jun 27, 2013 at 10:39 PM, Christian Taltas <[email protected]> wrote: > Looks like there is a mistake in documentation. > function vm.createScript should take 3 arguments : code, [ctx], [filename].
It's not a mistake. You can pass a context object to vm.createScript() but it's ignored, you still have to pass the context object to vm.Script#runInContext(). -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
