You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Sam Bisbee (Closed) (JIRA)" <ji...@apache.org> on 2012/02/22 05:26:48 UTC

[jira] [Closed] (COUCHDB-202) [PATCH] Support other languages for views in Futon

     [ https://issues.apache.org/jira/browse/COUCHDB-202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sam Bisbee closed COUCHDB-202.
------------------------------


Resolved for a while. Closing.
                
> [PATCH] Support other languages for views in Futon
> --------------------------------------------------
>
>                 Key: COUCHDB-202
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-202
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Futon
>            Reporter: Brian Palmer
>            Assignee: Christopher Lenz
>             Fix For: 0.9
>
>         Attachments: Futon_languages_support.patch
>
>
> Attached is a small patch to generalize Futon to support any language defined in the .ini file. If the language is recognized, Futon will use the correct "stub" map function in the edit textarea. Currently I've added stub map methods for javascript and ruby, more could be added.
> Languages are checked on save and handled conservatively. So once a view has been created, its language cannot be changed. And when first saving a view, the target document's language is checked and an error is returned if the languages don't match.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira