diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2016-08-01 16:43:27 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2016-08-01 16:43:27 -0400 |
| commit | 69e7033fca28646d1f3f2c78db6e0e6c2796c3e8 (patch) | |
| tree | dc9cb04aeaaf961e776645b656a9f4dc4e457025 /www/lib/localforage/src/utils/promise.js | |
| parent | 81d24bbed0af0ba7b39948ca968528b225a46c76 (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/lib/localforage/src/utils/promise.js')
| -rw-r--r-- | www/lib/localforage/src/utils/promise.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/www/lib/localforage/src/utils/promise.js b/www/lib/localforage/src/utils/promise.js new file mode 100644 index 00000000..177a10d0 --- /dev/null +++ b/www/lib/localforage/src/utils/promise.js @@ -0,0 +1,6 @@ +// This is CommonJS because lie is an external dependency, so Rollup +// can just ignore it. +if (typeof Promise === 'undefined' && typeof require !== 'undefined') { + require('lie/polyfill'); +} +export default Promise; |
