Sandbox

Server.Modules. Sandbox

# new Sandbox(coreObj) → {Server.Modules.Sandbox}

This is the Sandbox Module of the Blackrock Application Server. It provides a virtualized environment within which to execute Javascript code that is un-trusted.

Parameters:
Name Type Description
coreObj Server.Modules.Core

The Core Module Singleton

Author:
  • Darren Smith
License:
  • Licensed under the LGPL license.
Returns:

module - The Sandbox Module Singleton

Type
Server.Modules.Sandbox

Extends

Methods

# (static) execute(options, cb)

Tbc...

Parameters:
Name Type Description
options object

Options Object

Properties
Name Type Description
file string

Path to File to Execute

cb function

Callback Function

Example
Tbc...