couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vivek Pathak <vpat...@orgmeta.com>
Subject accessing common data within show function
Date Wed, 20 Jul 2011 21:18:35 GMT
Hi

I would like access common data within my show functions.  What I need 
is very much like accessing common code using the require() function as 
shown here:  http://wiki.apache.org/couchdb/CommonJS_Modules.  Instead 
of accessing code, I would like to assign the common data to a local js 
variable.

Is there a simple way to do it?

Thanks
Vivek Pathak

Mime
View raw message