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 2011/08/18 18:00:53 UTC

[Couchdb Wiki] Update of "CommonJS_Modules" by BenjaminYoung

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 BenjaminYoung:
http://wiki.apache.org/couchdb/CommonJS_Modules?action=diff&rev1=6&rev2=7

Comment:
changed CouchApp reference to Design Document to make

  ## page was renamed from commonjs_modules
  = CommonJS Modules =
  
- 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 CouchApp (see below).
+ 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).
  
  {{{#!highlight JavaScript
    {