On Sunday, December 5, 2010, Johnny Weng Luu <[email protected]> wrote: > 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 >
require didn't exist when the book was written. also they can serve differrents purposes. - benoƮt
