diff options
author | David Barksdale <amatus@amatus.name> | 2014-07-03 18:09:52 -0500 |
---|---|---|
committer | David Barksdale <amatus@amatus.name> | 2014-07-22 18:27:21 -0500 |
commit | d6e755ea06d42d128dafc5121122d13bf5ac99a5 (patch) | |
tree | f33411e09e0ae0b104fcc863b18863ffbac1bfd4 | |
parent | a7479525153d57739c547158e3a5d87e33c8d2fd (diff) |
Fix IDBFS for webworkerspush-upstream
-rw-r--r-- | src/library_idbfs.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/library_idbfs.js b/src/library_idbfs.js index 8082c196..ebbaa7fc 100644 --- a/src/library_idbfs.js +++ b/src/library_idbfs.js @@ -3,6 +3,7 @@ mergeInto(LibraryManager.library, { $IDBFS: { dbs: {}, indexedDB: function() { + if (typeof indexedDB !== 'undefined') return indexedDB; return window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB; }, DB_VERSION: 21, |