Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

sourcemint undeclared fix

  • Loading branch information...
commit ff948187fc89fbd8a0e8fb3a1d6d612a06412be4 1 parent 9da76f4
@cadorn cadorn authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/loader.js
View
1  lib/loader.js
@@ -81,6 +81,7 @@ exports.sandbox = function(sandboxIdentifier, loadedCallback, sandboxOptions)
VM.runInNewContext(code, {
// TODO: Inject and fix environment based on options.
require: LOADER.require,
+ sourcemint: LOADER.require,
// TODO: Wrap to `console` object provided by `sandboxOptions` and inject module info.
console: console,
// NodeJS globals.
Please sign in to comment.
Something went wrong with that request. Please try again.