couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From TAE JIN KIM <snoweb...@hotmail.com>
Subject Anyway I can define my javascript function that can be accessed in every design?
Date Wed, 17 Dec 2014 17:09:03 GMT
Hello,

In mydesign1/firstview,

my function has been defiend like..
function mycommon() {
   ..
 ...
}

in mydesigin1/secondview
I am able to use the mycommon javascript function that has been defined in firstview of same
design doc, which is mydesign1.

Say I created another design doc, which is mydesign2..

in mydesign2/firstview, I can't access the mycommon function because this is different design
doc...

My question is ..is there any way I can define some common function that this can be accessed
from every design doc?

Thanks,
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message