From b28028ac4082842143b0f528d6bc539da6ccb419 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Thu, 21 Sep 2017 12:49:18 -0400 Subject: mega changes, including updates and X --- www/lib/localforage/src/utils/promise.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 www/lib/localforage/src/utils/promise.js (limited to 'www/lib/localforage/src/utils/promise.js') 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; -- cgit v1.2.3