diff options
| author | PliablePixels <pliablepixels@gmail.com> | 2015-06-21 18:05:01 -0400 |
|---|---|---|
| committer | PliablePixels <pliablepixels@gmail.com> | 2015-06-21 18:05:01 -0400 |
| commit | d442629aa825aab6bc55ab6be19e3aba060867fe (patch) | |
| tree | a58b5cc3b6e30018ad3802b57d9c99a9b0604980 /www/js/EventCtrl.js | |
| parent | 2782a0757f730ac622bb1768e33ae4e1ab43f9e4 (diff) | |
remove simulation code completely to keep things easy to understand.
Diffstat (limited to 'www/js/EventCtrl.js')
| -rw-r--r-- | www/js/EventCtrl.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js index 98c3b6c9..2cda31bf 100644 --- a/www/js/EventCtrl.js +++ b/www/js/EventCtrl.js @@ -146,16 +146,6 @@ angular.module('zmApp.controllers').controller('zmApp.EventCtrl', ['$ionicPlatfo $scope.controlEventStream = function (cmd) { console.log("Command value " + cmd); - if (ZMDataModel.isSimulated()) { - var str = "simulation mode. no action taken"; - $ionicLoading.show({ - template: str, - noBackdrop: true, - duration: 3000 - }); - return; - } - $ionicLoading.hide(); $ionicLoading.show({ template: "please wait...", @@ -421,9 +411,6 @@ $ionicLoading.show({ maxwidth:100, scope:$scope, template: '<button class="butto }; - $scope.isSimulated = function () { - return ZMDataModel.isSimulated(); - }; // For consistency we are keeping the refresher list // but its a dummy. The reason I deviated is because |
