MCPcopy Create free account
hub / github.com/alignoth/alignoth / init

Function init

resources/vega.min.js:3778–3800  ·  view source on GitHub ↗
(t, e)

Source from the content-addressed store, hash-verified

3776 );
3777 },
3778 init(t, e) {
3779 const n = this;
3780 return (
3781 (n.stamp = t.stamp),
3782 (n.encode = t.encode),
3783 !t.fields || 64 & e || (n.fields = t.fields),
3784 1 & e
3785 ? ((n.addF = t.addF), (n.add = t.add))
3786 : ((n.addF = null), (n.add = [])),
3787 2 & e
3788 ? ((n.remF = t.remF), (n.rem = t.rem))
3789 : ((n.remF = null), (n.rem = [])),
3790 4 & e
3791 ? ((n.modF = t.modF), (n.mod = t.mod))
3792 : ((n.modF = null), (n.mod = [])),
3793 32 & e
3794 ? ((n.srcF = null), (n.source = null))
3795 : ((n.srcF = t.srcF),
3796 (n.source = t.source),
3797 t.cleans && (n.cleans = t.cleans)),
3798 n
3799 );
3800 },
3801 runAfter(t) {
3802 this.dataflow.runAfter(t);
3803 },

Callers 1

mainFunction · 0.85

Calls 11

HsFunction · 0.85
nuFunction · 0.85
FSFunction · 0.85
CSFunction · 0.85
VFunction · 0.70
nFunction · 0.70
aFunction · 0.70
WsFunction · 0.70
sFunction · 0.70
JsFunction · 0.70
mapMethod · 0.45

Tested by

no test coverage detected