MCPcopy Create free account
hub / github.com/microsoft/SandDance / Scope

Function Scope

docs/app/js/sanddance-app.js:149443–149467  ·  view source on GitHub ↗
(config, options)

Source from the content-addressed store, hash-verified

149441 return signals;
149442}
149443function Scope(config, options) {
149444 this.config = config || {};
149445 this.options = options || {};
149446 this.bindings = [];
149447 this.field = {};
149448 this.signals = {};
149449 this.lambdas = {};
149450 this.scales = {};
149451 this.events = {};
149452 this.data = {};
149453 this.streams = [];
149454 this.updates = [];
149455 this.operators = [];
149456 this.eventConfig = null;
149457 this.locale = null;
149458 this._id = 0;
149459 this._subid = 0;
149460 this._nextsub = [
149461 0
149462 ];
149463 this._parent = [];
149464 this._encode = [];
149465 this._lookup = [];
149466 this._markpath = [];
149467}
149468function Subscope(scope) {
149469 this.config = scope.config;
149470 this.options = scope.options;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected