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

Method showTab

tools/xsbug/main.js:273–280  ·  view source on GitHub ↗
(tab, showIt)

Source from the content-addressed store, hash-verified

271 }
272 }
273 showTab(tab, showIt) {
274 if (this.visibleTabs[tab] != showIt) {
275 if (this.currentTab == tab)
276 this.selectMachine(null, 0);
277 this.visibleTabs[tab] = showIt;
278 application.distribute("onMachinesChanged", this.machines);
279 }
280 }
281
282/* EVENTS */
283 onBreakpointsChanged(application) {

Callers 2

doOpenFileCallbackMethod · 0.95
valueMethod · 0.80

Calls 2

selectMachineMethod · 0.95
distributeMethod · 0.80

Tested by

no test coverage detected