Uses of Class
org.htmlunit.corejs.javascript.commonjs.module.RequireBuilder
-
Packages that use RequireBuilder Package Description org.htmlunit.corejs.javascript.commonjs.module -
-
Uses of RequireBuilder in org.htmlunit.corejs.javascript.commonjs.module
Methods in org.htmlunit.corejs.javascript.commonjs.module that return RequireBuilder Modifier and Type Method Description RequireBuilder
RequireBuilder. setModuleScriptProvider(ModuleScriptProvider moduleScriptProvider)
Sets theModuleScriptProvider
for theRequire
instances that this builder builds.RequireBuilder
RequireBuilder. setPostExec(Script postExec)
Sets the script that should execute in every module's scope after the module's own script has executed.RequireBuilder
RequireBuilder. setPreExec(Script preExec)
Sets the script that should execute in every module's scope before the module's own script has executed.RequireBuilder
RequireBuilder. setSandboxed(boolean sandboxed)
Sets whether the created require() instances will be sandboxed.
-