diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2018-08-15 15:06:22 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2018-08-15 15:06:22 -0400 |
| commit | 548c4cf8662e0c7b64cb84ff038a7fc548144cd2 (patch) | |
| tree | 52eb72219aa6c03d44153010d784e776ec25ff12 /www/js/ionicUtils.js | |
| parent | 8e3143f67924284746da18c80032b8c50c88c25d (diff) | |
nits
Diffstat (limited to 'www/js/ionicUtils.js')
| -rw-r--r-- | www/js/ionicUtils.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/www/js/ionicUtils.js b/www/js/ionicUtils.js index 5cfa5d7b..c5da1304 100644 --- a/www/js/ionicUtils.js +++ b/www/js/ionicUtils.js @@ -21,6 +21,7 @@ angular.module('ionic.utils', []) $window.localStorage[key] = JSON.stringify(value); }, getObject: function (key) { + return JSON.parse($window.localStorage[key] || '{}'); } }; |
