for opera + safari (+mobile)
Adding WebSQL would be great for browser support!
+1 Until indexeddb is available on Mobile etc. we really need WebSQL support.
How about using the IndexedDB Shim for WebSQL - you would get WebSql support right away !! :)
Very nice, I had no idea that existed
Here is PouchDB working on Opera and Safari -
More info about the shim - http://nparashuram.com/IndexedDBShim/
Btw, I just finished writing it :)
This is amazing, thanks axemclion
Give me a heads up if you want any guidance on a pull request (the idb <-> idb replication is currently broken, I will fix shortly), otherwise I will write it up shortly
This is indeed very promising. At present it doesn't work on my iPad which I reported to Parashuram at: axemclion/IndexedDBShim#5
Fixed it. THnx.
@axemclion It took a couple of refreshes on my iPad but all tests are passing now. Great job.
Oomph ok looks good
@axemclion I attempted to get the facebook shim integrated, I used your fork but I was getting inactive transaction errors on any write, you said you were getting further so any pointers?
Sorry I keep missing you on skype, we are in awkward timezones for each other
Planning to get this integrated asap since the node support is in, ince we get this in basic its a matter of hammering on testing then release :)
Figured out what the issue was - and both Facebook and my polyfills seem to have this issue - everytime you delete a pouch, and then suddenly try to create it, the polyfill do that in the same event-loop. Hence, the tables already seem to exist. If you disable Pouch.destroy in the initTestDB method of test.util.js, all the basic tests seem to run. Can you confirm ?
Good work I will test the same and see what happens
Sorry for the delays, I have a new testrunner script in works that ended up a much bigger change than I expected
Add a native webSql adapter - #63
Should PouchDB work with WebSQL now? I get an error if I try to use PouchDB on Safari without IndexedDBShim:
TypeError: 'undefined' is not an object (evaluating 'Pouch.adapters[t].valid')
What version of safari are you using (and just in case, are you in private browsing, that wont work)
Hi Dale -- Safari 6.0.5 (8536.30.1) on Mac OS X 10.8.4 -- not private browsing.