couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yohei SASAKI <yss...@gmail.com>
Subject Re: JavaScript specification changes at 0.11?
Date Thu, 25 Mar 2010 22:49:29 GMT
Hi

Thanks to all.

>You should never depend on global state in the view server because it could
>always end up be distributed to parallel instances in the future.

ok, I see! I understand this is the specification changes and my code
is now bad.
# I used global object in my couchapp code in !code macro to distinguish
# the scopes of module functions explicitly.

I tried require method, which worked well!

-- 
Yohei SASAKI
http://www.yssk22.info/

Mime
View raw message