Permalink
Browse files

sourcemint undeclared fix

  • Loading branch information...
1 parent 9da76f4 commit ff948187fc89fbd8a0e8fb3a1d6d612a06412be4 @cadorn cadorn committed Aug 15, 2012
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.

0 comments on commit ff94818

Please sign in to comment.