couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabor Ratky (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-817) Natively support coffeescript
Date Sun, 29 May 2011 11:16:47 GMT


Gabor Ratky commented on COUCHDB-817:

Jan, the CoffeeScript.compile function takes a second optional parameter called options. If
you pass { bare: true }, the compiled code will not be wrapped in a closure. See my line note
on your commit:

Great to see this getting into 1.2, makes so much sense. We're doing similar to Tane, already
using coffeescript with nodejs + cradle and our views are already written in coffeescript,
having CouchDB automatically take care of this and be able to write temporary views / make
edits to existing views during development in coffeescript is mighty awesome.

> Natively support coffeescript
> -----------------------------
>                 Key: COUCHDB-817
>                 URL:
>             Project: CouchDB
>          Issue Type: New Feature
>            Reporter: Matt Parker
>            Assignee: Jan Lehnardt
>             Fix For: 1.2
> i'd love to be able to put coffeescript map and reduce function/files directly into my
ddoc, instead of having to compile them first.

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message