aaronshaf / bongo.js

[Deprecated] Store and query massive amounts of structured data on the browser.
48 stars 4 forks source link

gh-pages playground #22

Open coolaj86 opened 11 years ago

coolaj86 commented 11 years ago

Would be nice to have a site from which I can just open the console and start playing - such as a gh-pages.

aaronshaf commented 11 years ago

Sounds good. I'll do it.

coolaj86 commented 11 years ago

The tests aren't doing so hot:

http://aaronshaf.github.io/bongo.js/

aaronshaf commented 11 years ago

They're all passing for me on FF, IE, and Chrome.

What browser are you using? What is the first error in the console?

The biggest issue is usually the database migration and Chrome's fickle need sometimes for a freakin' browser restart (yes, really).

coolaj86 commented 11 years ago

The first time I ever visited the page it failed everything but one. Now they all pass (my computer has been restarted since then).

Seems like in Chrome Incognito mode it fails everything every time.

Uncaught expected 0 to equal 2 chai.js:396
onerror bongo.es5.js:111
Uncaught The connection was closed. bongo.es5.js:112
onerror bongo.es5.js:111
aaronshaf commented 11 years ago

Thanks. I will investigate.

coolaj86 commented 11 years ago

oh noes!

aaronshaf commented 11 years ago

Are you still getting this, or was that just upon initial load?

coolaj86 commented 11 years ago

That's in the incognito window every time

Maybe take a look at PouchDB's underpinnings? I think theirs works on first load.

aaronshaf commented 11 years ago

@coolaj86, please try now:

http://aaronshaf.github.io/bongo.js/