Jermolene/TiddlyWiki5 — pull request #179 by natecain (2013-10-12 16:26:20+00:00)
Title: Fix up jasmine-plugin for Modules/1.1 patches

Provides an exports object in the context for `evalSandboxed`, fixes test.sh crash with Modules/1.1 patches in place.

Looking at the jasmine call site for `evalSandboxed` I feel like evalSandbox should be changed to return the return value of the code, instead of sandbox.exports as this would more closely match eval and runInNewContext API.

Soon, with Node 0.12, we will probably want to replace any usage of the 'vm' module with the upcoming contextify model anyway, so these portions of code are likely to change again.