MCPcopy Index your code
hub / github.com/JKPotato-Computer/SignMaker / duplicateExitTab

Function duplicateExitTab

js/main.js:258–264  ·  view source on GitHub ↗
(exitTabIndex)

Source from the content-addressed store, hash-verified

256
257 // Create a duplicate of the exit tab.
258 const duplicateExitTab = function(exitTabIndex) {
259 const panel = post.panels[currentlySelectedPanelIndex];
260 panel.duplicateExitTab(exitTabIndex);
261 currentlySelectedExitTabIndex++;
262 updateForm();
263 redraw();
264 }
265
266 // Delete the exit tab.
267 const removeExitTab = function(exitTabIndex) {

Callers

nothing calls this directly

Calls 3

duplicateExitTabMethod · 0.80
updateFormFunction · 0.70
redrawFunction · 0.70

Tested by

no test coverage detected