MCPcopy Create free account
hub / github.com/JKPotato-Computer/SignMaker / deleteNestExitTab

Function deleteNestExitTab

js/main.js:276–282  ·  view source on GitHub ↗
(nestExitTabIndex)

Source from the content-addressed store, hash-verified

274
275 // Delete the exit tab within the parent exitTab
276 const deleteNestExitTab = function(nestExitTabIndex) {
277 const exitTab = post.panels[currentlySelectedPanelIndex].exitTabs[currentlySelectedExitTabIndex];
278 exitTab.deleteNestExitTab(nestExitTabIndex);
279 currentlySelectedNestedExitTabIndex--
280 updateForm();
281 redraw();
282 }
283
284 // Set the current editing exit tab based off paramter number, its child, within the correct range (0 < # of exit Tabs - 1 // Secondary: 0 < # of child exit Tabs)
285 const changeEditingExitTab = function(exitTabNumber, nestedExitTabNumber) {

Callers

nothing calls this directly

Calls 3

deleteNestExitTabMethod · 0.80
updateFormFunction · 0.70
redrawFunction · 0.70

Tested by

no test coverage detected