ish.io.evaler

Javascript Evaluation mixin for ish.js

Source:
Author:
  • Nick Campbell
License:
  • MIT

Methods

[mixin] ish.io.evaler(oThis, eEnvironmentopt) → {fnIshIoEvaler}

Source:
Provides an interface to evaluate Javascript under the passed this/context and environment.
From Mixin: ish.io.evaler.js must be included for ishJS to access this functionality.
Parameters:
Name Type Attributes Default Description
oThis object Value representing the this context to evaluate the Javascript under. ish.io.evaler.types.masked utilize this argument as the scope rather than this context.
eEnvironment string <optional>
ish.io.evaler.environment.masked Value representing the type of evaluation environment.
Returns:
Type Description
fnIshIoEvaler Value representing the requested evaler function; evaler(vJS, oInjectData, bReturnAsMetadata).