incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Smith <...@couch.io>
Subject Re: Mustache? CommonJS?
Date Wed, 18 Aug 2010 13:24:00 GMT
Hi, Michael. Glad some of this is making some sense!

On Wed, Aug 18, 2010 at 02:19, Michael Lenahan <michael.lenahan@gmail.com>wrote:

> When you say "<insert mustache.js CommonJS file here>" what do you mean?
>

You can literally copy and paste the mustache.js file that you download.
There is some confusion because the **project** is "mustache dot jay ess"
but there is also a source code file called mustache.js which is not the
CommonJS version, it is just the core code.

The trick to making sure that you have a CommonJS file is because it will
have the word `exports` somewhere in the file.

Where do you get mustache.js in CommonJS format? Good question.

I just spoke to Jan and apparently you must download the code from GitHub
and run:

    rake commonjs

That will produce the mustache.js file in the commonjs folder.


-- 
Jason Smith
Couchio Hosting

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