MCPcopy
hub / github.com/twitter/labella.js / createStub

Method createStub

src/core/node.js:62–68  ·  view source on GitHub ↗
(width)

Source from the content-addressed store, hash-verified

60 }
61
62 createStub(width){
63 const stub = new Node(this.idealPos, width, this.data);
64 stub.currentPos = this.currentPos;
65 stub.child = this;
66 this.parent = stub;
67 return stub;
68 }
69
70 removeStub(){
71 if(this.parent){

Callers 6

DistributorFunction · 0.80
renderer.spec.jsFile · 0.80
metrics.spec.jsFile · 0.80
node.spec.jsFile · 0.80
sFunction · 0.80
dFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected