You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Michael Bykov <m....@gmail.com> on 2012/08/18 14:13:36 UTC
Using underscore in list function with soca
Hi,
I am using soca for generating my couchapp.
How can I use underscore.js in my list functions?
I have tried require('underscore-min'), vendor/underscore-min',
js/..., _attachments/js/ and so on, as it is explaned in
http://wiki.apache.org/couchdb/CommonJS_Modules
The best result I have got for now is
"code":500,"error":"invalid_require_path","reason":"Object has no
property \"underscore-min\".
May be somebody can use underscore with soca and there is some
documentation about?
P.S.
Sorry for crossposting
--
М.
http://diglossa.ru
xmpp://m.bykov@jabber.ru