From 244fa6aa11f332d94e2d8ac6f8cca26d1ae258f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Sat, 23 Apr 2016 23:57:34 +0200 Subject: [PATCH] stubs for the mon js Former-commit-id: 75781892f4d3618a6beb16c5feb1febf0ae70070 --- html_src/gulpfile.js | 1 + html_src/js-src/page_mon.js | 8 ++++++++ html_src/page_monitoring.php | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/html_src/gulpfile.js b/html_src/gulpfile.js index 41969bf..ee98a02 100644 --- a/html_src/gulpfile.js +++ b/html_src/gulpfile.js @@ -33,5 +33,6 @@ elixir(function (mix) { 'js-src/page_waveform.js', 'js-src/page_spectrogram.js', 'js-src/page_status.js', + 'js-src/page_mon.js', ], 'js/all.js'); }); diff --git a/html_src/js-src/page_mon.js b/html_src/js-src/page_mon.js index 7ee3f1c..ec57d6b 100644 --- a/html_src/js-src/page_mon.js +++ b/html_src/js-src/page_mon.js @@ -1,6 +1,14 @@ var page_mon = (function() { var mon = {}; + mon.captureRef = function() { + // TODO ajax & update the field + }; + + mon.compareNow = function() { + // TODO ajax & show result + }; + mon.init = function() { // }; diff --git a/html_src/page_monitoring.php b/html_src/page_monitoring.php index 21adee8..2b5a517 100644 --- a/html_src/page_monitoring.php +++ b/html_src/page_monitoring.php @@ -16,7 +16,7 @@ Actual distance: N/A - Measure + Measure