couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From deathbearbrown <...@git.apache.org>
Subject [GitHub] couchdb-fauxton pull request: 2276 api bar restyle
Date Wed, 23 Jul 2014 15:38:03 GMT
Github user deathbearbrown commented on a diff in the pull request:

    https://github.com/apache/couchdb-fauxton/pull/14#discussion_r15295190
  
    --- Diff: app/addons/fauxton/base.js ---
    @@ -297,6 +296,21 @@ function(app, FauxtonAPI, resizeColumns) {
           this.endpoint = endpoint[0];
           this.documentation = endpoint[1];
           this.render();
    +    },
    +    afterRender: function(){
    +      ZeroClipboard.config({ moviePath: "/assets/js/plugins/zeroclipboard/ZeroClipboard.swf"
});
    +      var client = new ZeroClipboard(this.$(".copy-url"));
    +      client.on("load", function(e){
    +        var $apiInput = $('#api-navbar input');
    +        var copyURLTimer;
    +        client.on("mouseup", function(e){
    +          $apiInput.css("background-color","#aaa");
    +          clearTimeout(copyURLTimer);
    --- End diff --
    
    this breaks the linter (this is a test, Jenn already knows) hi


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message