db.js icon indicating copy to clipboard operation
db.js copied to clipboard

Chrome: db.open().done is not a function

Open astanciu opened this issue 9 years ago • 8 comments

Uncaught TypeError: db.open(...).done is not a function

Getting this error in Chrome. It seems to prefer .then instead of .done

astanciu avatar Apr 21 '15 22:04 astanciu

Where are you getting told to call done? All the samples in the readme were updated when moving to ES6 Promises

aaronpowell avatar Apr 21 '15 22:04 aaronpowell

Here: http://aaronpowell.github.io/db.js/

astanciu avatar Apr 21 '15 23:04 astanciu

Ha, the gh-pages branch is massively out of date. Forgot that even existed :stuck_out_tongue:

aaronpowell avatar Apr 21 '15 23:04 aaronpowell

Heh, no worries.. googled into it.

astanciu avatar Apr 21 '15 23:04 astanciu

The github.io pages are the first thing that come up for me when I google for db.js - is there a more up-to-date source of documentation available?

mikemorton avatar Apr 29 '15 13:04 mikemorton

The readme.md :stuck_out_tongue:

Yeah I should update the gh-pages branch, or someone can PR it :wink:

aaronpowell avatar Apr 29 '15 21:04 aaronpowell

oh no!

lifedever avatar Dec 18 '15 08:12 lifedever

Could this issue be renamed to "Update gh-pages" or something like that?

brettz9 avatar Apr 11 '16 16:04 brettz9