diff options
| author | Pliable Pixels <pliablepixels@users.noreply.github.com> | 2018-10-15 10:42:02 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-15 10:42:02 -0400 |
| commit | 7d696e85cbe7112ebc2a1b49ee957e42209a404c (patch) | |
| tree | ff8135ee4b1ffeac839c8f3365d5d82e29760d77 /www/js/ionicUtils.js | |
| parent | 1cd6c1ba5f1944b411f871bedeb65e93c9530bc4 (diff) | |
| parent | fb73ec7092b1763c4d64148dd8230751e10eec68 (diff) | |
Merge branch 'master' into master
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] || '{}'); } }; |
