summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2016-08-02 12:03:51 -0400
committerPliable Pixels <pliablepixels@gmail.com>2016-08-02 12:03:51 -0400
commitc081e60da85d4463faa6ee7b0bc229d3d0a5887c (patch)
tree09111b32c3281437f1397ac675281b869daabc98 /www
parent884d5d3bf9b1ee30fc8d06a14b4640611f31fa75 (diff)
#292 - db name change
Former-commit-id: d9adc1eb1cc8f14d974f49df00a3d32165abcc4a
Diffstat (limited to 'www')
-rw-r--r--www/js/app.js10
1 files changed, 7 insertions, 3 deletions
diff --git a/www/js/app.js b/www/js/app.js
index 27cb9b18..03955d29 100644
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -78,8 +78,8 @@ angular.module('zmApp', [
eventHistoryTimer: 10000,
eventPlaybackQuery: 3000,
packeryTimer: 500,
- dbName: 'zmninja.db',
- dbTableName: 'userProfile'
+ dbName: 'zmninja'
+
@@ -1099,7 +1099,11 @@ angular.module('zmApp', [
ZMDataModel.zmLog("You are running on " + $rootScope.platformOS);
-
+ localforage.config({
+ name: zm.dbName
+
+ });
+
localforage.defineDriver(window.cordovaSQLiteDriver).then(function () {
return localforage.setDriver([
// Try setting cordovaSQLiteDriver if available,