GitHub user benkeen opened a pull request:

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

    [WIP] Clipboard.js

    This PR was to switch out ZeroClipboard for Clipboard.js, but I ran into a 
problem with elegantly downgrading for Safari in all instances. Specifically, 
the downgrade path for Safari was to select the text in the page and alert a 
message saying "Press ⌘-C to copy to your clipboard". But this won't work for 
cases where the clipboard text isn't visible in the page.
    
    I don't terribly want the code to get wasted, I'll post it here. Once 
clipboard.js support's Safari, this can be applied.

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

    $ git pull https://github.com/benkeen/couchdb-fauxton clipboard

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

    https://github.com/apache/couchdb-fauxton/pull/659.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 #659
    
----
commit f9d8cef10eb54d3572346982d7fc67d57ce235f1
Author: Ben Keen <[email protected]>
Date:   2016-03-02T16:22:44Z

    [email protected]

commit 98613e7d1121c0205c62d455665606e14e08f91f
Author: Ben Keen <[email protected]>
Date:   2016-03-02T16:25:16Z

    Switch out ZeroClipboard for clipboard.js

----


---
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