Constructor
# new ScriptBehavior(script, scope)
Create a new ScriptBehavior.
Parameters:
| Name | Type | Description |
|---|---|---|
script |
String | the script. |
scope |
Object | an object containing variables to include in the script's scope. |