diff options
| author | PliablePixels <pliablepixels@gmail.com> | 2015-06-26 20:25:01 -0400 |
|---|---|---|
| committer | PliablePixels <pliablepixels@gmail.com> | 2015-06-26 20:25:01 -0400 |
| commit | 2c837a6adbbdbb5f062e1ad86c98738084d31fb2 (patch) | |
| tree | 33e4c6292095ed61ba29791c15ab649f3b33699a /www/js | |
| parent | 544413f2d6de83e085d4489a1b9ccbaac3fa192d (diff) | |
Added uglify/minify as part of build process (Note: console log is enabled - remember to disable it in release mode)
Diffstat (limited to 'www/js')
| -rw-r--r-- | www/js/MonitorCtrl.js | 4 | ||||
| -rw-r--r-- | www/js/app.js | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/www/js/MonitorCtrl.js b/www/js/MonitorCtrl.js index 2ae91b69..ee9605fc 100644 --- a/www/js/MonitorCtrl.js +++ b/www/js/MonitorCtrl.js @@ -285,8 +285,8 @@ angular.module('zmApp.controllers').controller('zmApp.MonitorCtrl', ['$ionicPopu // The status is provided by zmdc.pl // "not running", "pending", "running since", "Unable to connect" - - for (var i = 0; i < $scope.monitors.length; i++) { + var i; + for ( i = 0; i < $scope.monitors.length; i++) { (function (j) { $scope.monitors[j].Monitor.isRunningText = "..."; $scope.monitors[j].Monitor.isRunning = "..."; diff --git a/www/js/app.js b/www/js/app.js index 4c157eda..ffff0c68 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -7,7 +7,6 @@ angular.module('zmApp', [ 'ionic', 'zmApp.controllers', - //'cordovaHTTP' ]) //------------------------------------------------------------------ |
