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

Method onCreate

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

Source from the content-addressed store, hash-verified

137 return (model.currentMachine == null) && (model.currentTab == 2);
138 }
139 onCreate(container) {
140 this.onMachineSelected(container, model.currentMachine, model.currentTab);
141 }
142 onMachineSelected(container, machine, tab) {
143 this.changeState(container, (machine == null) && (tab == 2) ? 0 : 1);
144 }

Callers

nothing calls this directly

Calls 1

onMachineSelectedMethod · 0.95

Tested by

no test coverage detected