couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitry Unkovsky <>
Subject Re: jquery and trailing \n
Date Thu, 18 Jun 2009 15:07:16 GMT
2009/6/18 Dmitry Unkovsky <>:
> May be the other thing could be done - to make option "enclose json
> response in parens" for possibility of cross-domain requests to
> couchdb, which otherwise impossible, as far as I can see.

ah, what a wonder! it's already in trunk!
you can add option to view /somedb/someview?callback=callbackFn
and your json will come as callbackFn({"json":"obcect"})

View raw message