[refactor] Moved 'getElementById' to its own TS file.

This commit is contained in:
Steven Evans
2018-07-05 13:23:12 -04:00
parent 8c25684fe1
commit 488f947a5b
4 changed files with 20 additions and 26 deletions
+2 -2
View File
@@ -5,12 +5,12 @@ import {iTutorialSteps, iTutorialNextStep,
iTutorialIsRunning, currITutorialStep} from "./InteractiveTutorial";
import {Player} from "./Player";
import {dialogBoxCreate} from "../utils/DialogBox";
import {clearEventListeners,
getElementById} from "../utils/HelperFunctions";
import {clearEventListeners} from "../utils/HelperFunctions";
import {Reviver, Generic_toJSON,
Generic_fromJSON} from "../utils/JSONReviver";
import {createElement} from "../utils/uiHelpers/createElement";
import {formatNumber} from "../utils/StringHelperFunctions";
import {getElementById} from "../utils/uiHelpers/getElementById";
/**
* Overwrites the inner text of the specified HTML element if it is different from what currently exists.