summaryrefslogtreecommitdiff
path: root/www/js/ionicUtils.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2016-08-01 16:43:27 -0400
committerPliable Pixels <pliablepixels@gmail.com>2016-08-01 16:43:27 -0400
commit69e7033fca28646d1f3f2c78db6e0e6c2796c3e8 (patch)
treedc9cb04aeaaf961e776645b656a9f4dc4e457025 /www/js/ionicUtils.js
parent81d24bbed0af0ba7b39948ca968528b225a46c76 (diff)
#292 - various items cleaned up, default to sqlite for devices, cleaned up entry paths to PortalLogin and ensured its AFTER DataModel.init() - wonder if this fixes #193
Former-commit-id: fbe5c0b0649b44912f5a52babeea5aa91a58e70f
Diffstat (limited to 'www/js/ionicUtils.js')
-rw-r--r--www/js/ionicUtils.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/www/js/ionicUtils.js b/www/js/ionicUtils.js
index dab37f6f..9b8a21ff 100644
--- a/www/js/ionicUtils.js
+++ b/www/js/ionicUtils.js
@@ -6,8 +6,13 @@
angular.module('ionic.utils', [])
-.factory('$localstorage', ['$window', function($window) {
+.factory('$localstorage', ['$window', function($window) {
return {
+
+ init: function()
+ {
+ },
+
set: function(key, value) {
$window.localStorage[key] = value;
},