indexeddbshim / IndexedDBShim

A polyfill for IndexedDB using WebSql
Other
968 stars 191 forks source link

Uncaught ReferenceError: regeneratorRuntime is not defined - chrome #312

Closed kolwas closed 7 years ago

kolwas commented 7 years ago

Simple page (using newest indexeddb indexeddbshim - v3.0.4 - 2017-07-01 is cousing issue on Chrome 59.0.3071.115 on linux)

<html>
    <head>
        <title>DB.JS on IndexedDB Shim</title>
        <script src="js/lib/indexeddb.shim.min.js"></script>
    </head>
    <body>
      </body>
</html>

Uncaught ReferenceError: regeneratorRuntime is not defined at Object.r.33 (indexeddb.shim.min.js:3) at o (indexeddb.shim.min.js:3) at indexeddb.shim.min.js:3 at Object. (indexeddb.shim.min.js:3) at Object.r.37../CFG (indexeddb.shim.min.js:3) at o (indexeddb.shim.min.js:3) at indexeddb.shim.min.js:3 at Object.r.44../CFG (indexeddb.shim.min.js:3) at o (indexeddb.shim.min.js:3) at indexeddb.shim.min.js:3

brettz9 commented 7 years ago

Please also add the following (after npm install) as per a more recent change:

<script src="node_modules/babel-polyfill/dist/polyfill.min.js"></script>

That should resolve the issue so closing, though feel free to comment further as needed.

kolwas commented 7 years ago

Ok. I appreciate for that info

2017-07-24 5:32 GMT+02:00 Brett Zamir notifications@github.com:

Closed #312 https://github.com/axemclion/IndexedDBShim/issues/312.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/axemclion/IndexedDBShim/issues/312#event-1175424232, or mute the thread https://github.com/notifications/unsubscribe-auth/APSXkF1_gf9aOrSXZE3iHkiHuFS03E6vks5sRBBEgaJpZM4OgjY9 .