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

Function Subscope

docs/app/js/sanddance-app.js:149468–149488  ·  view source on GitHub ↗
(scope)

Source from the content-addressed store, hash-verified

149466 this._markpath = [];
149467}
149468function Subscope(scope) {
149469 this.config = scope.config;
149470 this.options = scope.options;
149471 this.legends = scope.legends;
149472 this.field = Object.create(scope.field);
149473 this.signals = Object.create(scope.signals);
149474 this.lambdas = Object.create(scope.lambdas);
149475 this.scales = Object.create(scope.scales);
149476 this.events = Object.create(scope.events);
149477 this.data = Object.create(scope.data);
149478 this.streams = [];
149479 this.updates = [];
149480 this.operators = [];
149481 this._id = 0;
149482 this._subid = ++scope._nextsub[0];
149483 this._nextsub = scope._nextsub;
149484 this._parent = scope._parent.slice();
149485 this._encode = scope._encode.slice();
149486 this._lookup = scope._lookup.slice();
149487 this._markpath = scope._markpath;
149488}
149489Scope.prototype = Subscope.prototype = {
149490 parse (spec) {
149491 return parseScope(spec, this);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected