Changeset 0.28.3.2 (#189)
This commit is contained in:
@@ -8,6 +8,7 @@ const vm = require('vm');
|
||||
*/
|
||||
function loadExtensions(overrides = {}) {
|
||||
const sandbox = createBrowserContext(overrides);
|
||||
loadSource(sandbox, 'sb.js');
|
||||
loadSource(sandbox, 'events.js');
|
||||
loadSource(sandbox, 'extensions.js');
|
||||
const ctx = vm.createContext(sandbox);
|
||||
|
||||
Reference in New Issue
Block a user