incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johnny Weng Luu <johnny.weng....@gmail.com>
Subject !json and !code or require()
Date Sun, 05 Dec 2010 10:53:02 GMT
In CouchDB definitive guide the author says you could use:

// !json templates.edit
// !json blog
// !code vendor/couchapp/path.js
// !code vendor/couchapp/template.js

But why use those macros when you can use require()?

Are there occasions I want to use the macros instead?

/Johnny

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