MCPcopy
hub / github.com/liriliri/eruda / _bindEvent

Method _bindEvent

src/Sources/Sources.js:106–112  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104 })
105 }
106 _bindEvent() {
107 this._container.on('showTool', (name, lastTool) => {
108 if (name !== this.name && lastTool.name === this.name) {
109 delete this._data
110 }
111 })
112 }
113 _rmCfg() {
114 const cfg = this.config
115

Callers 1

initMethod · 0.95

Calls 1

onMethod · 0.80

Tested by

no test coverage detected