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

Method onMachineSelected

tools/xsbug/TabsPane.js:127–129  ·  view source on GitHub ↗
(container, machine, tab)

Source from the content-addressed store, hash-verified

125 this.onMachineSelected(container, model.currentMachine, model.currentTab);
126 }
127 onMachineSelected(container, machine, tab) {
128 this.changeState(container, (machine == null) && (tab == 1) ? 0 : 1);
129 }
130 select(container) {
131 model.selectMachine(null, 1);
132 }

Callers 1

onCreateMethod · 0.95

Calls 1

changeStateMethod · 0.45

Tested by

no test coverage detected