couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fred Bowen <>
Subject Re: add javascript 'classpath' for javascript viewserver
Date Thu, 04 Jun 2009 13:54:30 GMT
A very common, intuitive question.  Use CouchApp* and please take a look at
the mailing list archives for more explanation as to why you must duplicate
code between views, why you can't share state, etc:


I will add a note about this to the Wiki if it's not already there.


On Thu, Jun 4, 2009 at 4:17 AM, Peter Maas <> wrote:

> Hi,
> I wondered wether it is possible to load javascript which is accessible
> from view on a global level. Say I have some useful date utilities, or array
> functions... could I make them availlable to all my views (with resorting to
> couchapp templates)?
> kind regards,
> -P

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