From 2545df2c3873177aa2d7dab1af695ba8dd41d931 Mon Sep 17 00:00:00 2001 From: mmcw-dev Date: Wed, 20 Dec 2017 23:49:51 -0500 Subject: [PATCH] Add events to the html and respective libraries, web, mobile and core --- app/www/index.html | 2 +- app/www/static/js/intval.core.js | 1 + app/www/static/js/intval.mobile.js | 1 + app/www/static/js/intval.web.js | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/www/index.html b/app/www/index.html index 86f1631..2e3eab4 100644 --- a/app/www/index.html +++ b/app/www/index.html @@ -49,7 +49,7 @@
- +
diff --git a/app/www/static/js/intval.core.js b/app/www/static/js/intval.core.js index f0c768d..517a311 100644 --- a/app/www/static/js/intval.core.js +++ b/app/www/static/js/intval.core.js @@ -21,6 +21,7 @@ window.setDir = null; window.setExposure = null; window.setDelay = null; window.setCounter = null; +window.sequence = null; //ms var shutter = function (exposure) { diff --git a/app/www/static/js/intval.mobile.js b/app/www/static/js/intval.mobile.js index fbe2f92..cec5742 100644 --- a/app/www/static/js/intval.mobile.js +++ b/app/www/static/js/intval.mobile.js @@ -112,6 +112,7 @@ mobile.init = function () { window.setExposure = mobile.setExposure; window.setDelay = mobile.setDelay; window.setCounter = mobile.setCounter; + window.sequence = mobile.sequence; //show ble-specific fields in settings for (let i of bleInputs) { diff --git a/app/www/static/js/intval.web.js b/app/www/static/js/intval.web.js index 6bff2b1..bb90cd0 100644 --- a/app/www/static/js/intval.web.js +++ b/app/www/static/js/intval.web.js @@ -165,5 +165,6 @@ web.init = function () { window.setDelay = web.setDelay; window.setExposure = web.setExposure; window.setCounter = web.setCounter; + window.sequence = web.sequence; console.log('started web') }; \ No newline at end of file