MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / onCreate

Method onCreate

tools/xsbug/TabsPane.js:169–171  ·  view source on GitHub ↗
(container)

Source from the content-addressed store, hash-verified

167 return (model.currentMachine == null) && (model.currentTab == 4);
168 }
169 onCreate(container) {
170 this.onMachineSelected(container, model.currentMachine, model.currentTab);
171 }
172 onMachineSelected(container, machine, tab) {
173 this.changeState(container, (machine == null) && (tab == 4) ? 0 : 1);
174 }

Callers

nothing calls this directly

Calls 1

onMachineSelectedMethod · 0.95

Tested by

no test coverage detected