couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Lenahan <michael.lena...@gmail.com>
Subject Re: Mustache? CommonJS?
Date Fri, 20 Aug 2010 09:21:57 GMT
Thanks Jason, that's very helpful. I'll post my experiences back to the
list.

On 18 August 2010 14:24, Jason Smith <jhs@couch.io> wrote:

> 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