diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2018-10-15 09:49:34 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2018-10-15 09:49:34 -0400 |
| commit | deeec5ff33576e3b57bce7dd24db6aa0d67eb90b (patch) | |
| tree | bc4cd0d50cf601e6fb3cdfe9de177c31cd33624e /www/js/ionicUtils.js | |
| parent | bd1607efcaea59a5b4269628d5aa2999d6911b3e (diff) | |
beautify
Diffstat (limited to 'www/js/ionicUtils.js')
| -rw-r--r-- | www/js/ionicUtils.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/ionicUtils.js b/www/js/ionicUtils.js index c5da1304..cf75d1f4 100644 --- a/www/js/ionicUtils.js +++ b/www/js/ionicUtils.js @@ -21,7 +21,7 @@ angular.module('ionic.utils', []) $window.localStorage[key] = JSON.stringify(value); }, getObject: function (key) { - + return JSON.parse($window.localStorage[key] || '{}'); } }; |
