MCPcopy Create free account
hub / github.com/cryptii/cryptii / constructor

Method constructor

src/Pipe.js:19–42  ·  view source on GitHub ↗

* Constructor

()

Source from the content-addressed store, hash-verified

17 * Constructor
18 */
19 constructor () {
20 super()
21 this._viewPrototype = PipeView
22 this._brickFactory = null
23 this._service = null
24
25 // Meta
26 this._id = null
27 this._url = null
28 this._title = null
29 this._description = null
30
31 // Empty array of bricks and brick state objects
32 this._bricks = []
33 this._brickState = []
34
35 // New pipes contain one empty bucket
36 this._bucketContent = [Chain.empty()]
37 this._bucketListeners = [[]]
38 this._selectedBucket = 0
39
40 // Lazily instantiated library modal view
41 this._libraryModalView = null
42 }
43
44 /**
45 * Returns the id.

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected