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

Method onMachineSelected

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

Source from the content-addressed store, hash-verified

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 }
145 select(container) {
146 model.selectMachine(null, 2);
147 }

Callers 1

onCreateMethod · 0.95

Calls 1

changeStateMethod · 0.45

Tested by

no test coverage detected