Namespace sandboxe.script
Defined in: docbase.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Collection of references that work with the script side of sandboxe
|
Method Attributes | Method Name and Description |
---|---|
<static> |
sandboxe.script.include(path, b)
Similar to sandboxe.script.run except, a source file is only
executabed the first time include() is called for that path.
|
<static> |
sandboxe.script.run(path, b)
Runs all the logic of the given file as if it were a source file.
|
Namespace Detail
sandboxe.script
Collection of references that work with the script side of sandboxe
Method Detail
<static>
sandboxe.script.include(path, b)
Similar to sandboxe.script.run except, a source file is only
executabed the first time include() is called for that path. On subsequent calls
with the same path argument, no action is taken.
- Parameters:
- {String} path
- Path to file. This is relative to sandboxe.assets.getSearchPath
- b
<static>
sandboxe.script.run(path, b)
Runs all the logic of the given file as if it were a source file.
This is unconditional.
- Parameters:
- {String} path
- Path to file. If absolute is false (which is the default), this is relative to sandboxe.assets.getSearchPath
- b