GitHub user boxxxie opened a pull request:
https://github.com/apache/couchdb/pull/34
Many fixes to $.couch
added url param (allows to use $.couch to hit subdomains)
all $.couch functions return jQuery promises (basically added returns on
all the functions, cept for the userDb function which was edited the most).
fixed error in uuid function where calling it multiple times had it return
different types of values (sometimes a string, sometimes an object).
removed the $.couch.urlPrefix, which wasn't working correctly anyway. since
it wasn't working correctly i assume nobody is using it.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/boxxxie/couchdb master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb/pull/34.patch
----
commit d17cc498e2abcd69e10ae8bbad7f521e6c32b86a
Author: Paul Iannazzo <[email protected]>
Date: 2012-10-04T11:12:52-07:00
patched jquery.couch to return it's ajax calls so as to use promises
provided by $.ajax
commit bd80f791553bbe908d0474dea8b92967d1623617
Author: Paul Iannazzo <[email protected]>
Date: 2012-10-12T14:41:39-07:00
removed the prefix adding on session ajax call
commit 6a9b7deffc3665604828ddb1591a4df5c0e6eb86
Author: Paul Iannazzo <[email protected]>
Date: 2012-10-12T14:48:38-07:00
removed all urlPrefix additions to ajax calls
they were causing duplicate prefixes to be added because jquery is probably
doing it on it's own and the couch jquery code is redundant
commit fbde4734078299d14c77625118b394dbf0bf1f50
Author: Paul Iannazzo <[email protected]>
Date: 2012-10-15T18:47:12-07:00
edited $.couch session functions to use a url from the options if it exists
commit b17e931aab2dfbee46f4a07d90b0e436d6da4d53
Author: Paul Iannazzo <[email protected]>
Date: 2012-10-16T09:53:30-07:00
added $.couch.url to all ajax calls as a prefix. it has default settings
that should not break things :)
commit 4289edcbfda93d06d6e77050582a33ab7e84ebc9
Author: Paul Iannazzo <[email protected]>
Date: 2012-10-16T10:19:15-07:00
Merge git://git.apache.org/couchdb
----