From 85619474aec7f43061beb69554e102b257bddcc2 Mon Sep 17 00:00:00 2001 From: luxick Date: Fri, 18 Oct 2019 22:02:33 +0200 Subject: [PATCH] Remove misplaced file. --- static/js/estus-shots.js | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 static/js/estus-shots.js diff --git a/static/js/estus-shots.js b/static/js/estus-shots.js deleted file mode 100644 index 9186faf..0000000 --- a/static/js/estus-shots.js +++ /dev/null @@ -1,37 +0,0 @@ -var EditorModule = /** @class */ (function () { - function EditorModule() { - var _this = this; - this.setCurrentTime = function (elemId) { - var elem = document.getElementById(elemId); - if (!elem) - return; - elem.value = _this.currentTimeHHMM(); - }; - this.currentTimeHHMM = function () { - var d = new Date(); - var hours = (d.getHours() < 10 ? '0' : '') + d.getHours(); - var minutes = (d.getMinutes() < 10 ? '0' : '') + d.getMinutes(); - return hours + ":" + minutes; - }; - } - return EditorModule; -}()); -var editorModule = new EditorModule(); -var EventEditor; -(function (EventEditor) { - EventEditor.updateControls = function () { - var typeSelect = document.getElementById("event_type"); - var selectedType = typeSelect.options[typeSelect.selectedIndex].value; - switch (selectedType) { - case "0": - console.log("Pause"); - break; - case "1": - break; - case "2": - break; - default: - console.log("Unknown event type: " + selectedType); - } - }; -})(EventEditor || (EventEditor = {}));