diff options
| -rw-r--r-- | config.xml | 2 | ||||
| -rw-r--r-- | package.json | 3 | ||||
| -rw-r--r-- | www/js/app.js | 5 |
3 files changed, 7 insertions, 3 deletions
@@ -85,4 +85,6 @@ <icon src="resources/android/icon/drawable-xhdpi-icon.png" /> <plugin name="cordova-sqlite-storage" spec="~1.4.6-pre6a" /> <plugin name="cordova-plugin-settings-hook" spec="~0.2.3" /> + <engine name="ios" spec="~4.1.1" /> + <engine name="android" spec="~5.1.1" /> </widget> diff --git a/package.json b/package.json index 044fd4c2..cd78efa7 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "@angular/platform-browser-dynamic": "^2.0.0-rc.3", "@angular/router": "^2.0.0-rc.2", "async": "^1.4.2", + "electron-debug": "^1.0.1", "gulp": "^3.5.6", "gulp-concat": "^2.2.0", "gulp-minify-css": "^0.3.0", @@ -24,9 +25,9 @@ "clean-css": "^3.4.0", "gulp-angular-templatecache": "^1.6.0", "gulp-util": "^2.2.14", - "shelljs": "^0.3.0", "jshint": "^2.8.0", "ng-annotate": "^1.0.2", + "shelljs": "^0.3.0", "uglify-js": "^2.4.24" }, "cordovaPlugins": [ diff --git a/www/js/app.js b/www/js/app.js index 59c931de..60a6fe0a 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -1497,13 +1497,14 @@ angular.module('zmApp', [ localforage.getItem('last-desktop-state') .then (function (succ) { - console.log ("FOUND " + JSON.stringify(succ)); + // console.log ("FOUND " + JSON.stringify(succ) + ":"+succ); if (succ) { $rootScope.lastState = succ.name; $rootScope.lastStateParam = succ.params; - loadServices(); + } + loadServices(); }, function (err) { console.log ("ERR " + JSON.stringify(err)); loadServices(); |
