couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "CommonJS_Modules" by BenjaminYoung
Date Thu, 18 Aug 2011 16:00:53 GMT
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
    {

Mime
View raw message