GitHub user Flamenco opened a pull request:

    https://github.com/apache/couchdb-fauxton/pull/827

    Allow hyphen in key name when matching edit line

    In my design doc, I can open a string editor for
    
    ```
    "updates" : {
       "foobar" : "//comment"
       "foo_bar" : "//comment"
    }
    ```
    but not
    
    ```
    "updates" : {
       "foo-bar" : "//comment"
    }
    ```
    
    An editor opens in the later case with no content.
    
    This works however, as the key is map, not foo-bar when matching the edit 
line.
    ```
    "views" : {
       "foo-bar" : {
            "map": "// a comment"
       }
    }
    ```

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Flamenco/couchdb-fauxton hotfix_string_editor

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-fauxton/pull/827.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #827
    
----
commit c6f36518f74dbce83ea38b28a2a91f6dc30dbf95
Author: Steven Spungin <[email protected]>
Date:   2017-01-03T03:57:40Z

    Allow hyphen in key name when matching edit line

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to