You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2013/06/05 23:44:47 UTC

[Couchdb Wiki] Update of "CommonJS_Modules" by NathanVanderWilt

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "CommonJS_Modules" page has been changed by NathanVanderWilt:
https://wiki.apache.org/couchdb/CommonJS_Modules?action=diff&rev1=8&rev2=9

Comment:
official docs link

  
  ## page was renamed from commonjs_modules
  = CommonJS Modules =
+ 
+ See also the [[http://docs.couchdb.org/en/latest/query-servers.html#require|official documentation]] for this topic.
  
  As of the 1.1 release of CouchDB you can use CommonJS 1.0 modules in your map, show, list, update, and validation functions. Reduce functions '''can NOT''' use modules. When using CommonJS in map function you must place your CommonJS under the views/lib property in your Design Document (see below).