You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* are run inside a sandbox that prohibits them from accessing the normal
14
14
* Node.js environment.
15
15
*
16
-
* By default, this sandbox is the built-in `VMSandbox` class, which uses
17
-
* Node's `vm` module. You may provide your own sandbox implementation by
18
-
* passing the `sandbox` option or add and/or override sandbox variables by
16
+
* This sandbox is the built-in `VMSandbox` class, which uses
17
+
* Node's `vm` module. You may add and/or override sandbox variables by
19
18
* passing the `addOrOverrideSandboxGlobals` option.
20
19
*
21
20
* @example
22
21
* const FastBoot = require('fastboot');
23
22
*
24
23
* let app = new FastBoot({
25
24
* distPath: 'path/to/dist',
26
-
* sandbox: 'path/to/sandboxClass',
27
25
* sandboxGlobals: {...}
28
26
* });
29
27
*
@@ -38,19 +36,17 @@ class FastBoot {
38
36
* @param {Object} options
39
37
* @param {string} options.distPath the path to the built Ember application
40
38
* @param {Boolean} [options.resilient=false] if true, errors during rendering won't reject the `visit()` promise but instead resolve to a {@link Result}
41
-
* @param {Sandbox} [options.sandbox=VMSandbox] the sandbox to use
42
39
* @param {Object} [options.sandboxGlobals={}] any additional sandbox variables that an app server wants to override and/or add in the sandbox
0 commit comments