(ctx)
| 146681 | } |
| 146682 | } |
| 146683 | function Subcontext(ctx) { |
| 146684 | this.dataflow = ctx.dataflow; |
| 146685 | this.transforms = ctx.transforms; |
| 146686 | this.events = ctx.events; |
| 146687 | this.expr = ctx.expr; |
| 146688 | this.signals = Object.create(ctx.signals); |
| 146689 | this.scales = Object.create(ctx.scales); |
| 146690 | this.nodes = Object.create(ctx.nodes); |
| 146691 | this.data = Object.create(ctx.data); |
| 146692 | this.fn = Object.create(ctx.fn); |
| 146693 | if (ctx.functions) { |
| 146694 | this.functions = Object.create(ctx.functions); |
| 146695 | this.functions.context = this; |
| 146696 | } |
| 146697 | } |
| 146698 | Context.prototype = Subcontext.prototype = { |
| 146699 | fork () { |
| 146700 | const ctx = new Subcontext(this); |
nothing calls this directly
no outgoing calls
no test coverage detected