[refactor] Moved "exceptionAlert" to its own TS file

Since this is a UI only function, when Web Workers are introduced this
call chain will not be allowed on the backend.
This commit is contained in:
Steven Evans
2018-07-04 00:54:11 -04:00
parent be577164e3
commit 15e3b751da
7 changed files with 26 additions and 18 deletions
+2 -1
View File
@@ -7,7 +7,8 @@ import {getServer} from "./Server";
import {dialogBoxCreate} from "../utils/DialogBox";
import {printArray, createElement,
createAccordionElement, removeElement,
removeChildrenFromElement, exceptionAlert} from "../utils/HelperFunctions";
removeChildrenFromElement} from "../utils/HelperFunctions";
import {exceptionAlert} from "../utils/helpers/exceptionAlert";
import {logBoxCreate} from "../utils/LogBox";
import numeral from "numeral/min/numeral.min";
import {formatNumber} from "../utils/StringHelperFunctions";