You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ni...@apache.org on 2020/01/16 18:31:11 UTC

[cordova-docs] branch plugin-search created (now 2e2622f)

This is an automated email from the ASF dual-hosted git repository.

niklasmerz pushed a change to branch plugin-search
in repository https://gitbox.apache.org/repos/asf/cordova-docs.git.


      at 2e2622f  Fix typerror in plugin search

This branch includes the following new commits:

     new 2e2622f  Fix typerror in plugin search

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[cordova-docs] 01/01: Fix typerror in plugin search

Posted by ni...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

niklasmerz pushed a commit to branch plugin-search
in repository https://gitbox.apache.org/repos/asf/cordova-docs.git

commit 2e2622fdf70b65bc71020f6103f4723f552ec42b
Author: Niklas Merz <ni...@apache.org>
AuthorDate: Thu Jan 16 19:21:26 2020 +0100

    Fix typerror in plugin search
    
    "setClipboardText" was renamed to "copyText" in #1032. This fixes two method calls for a new issue #1047.
---
 www/static/plugins/plugin.jsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/static/plugins/plugin.jsx b/www/static/plugins/plugin.jsx
index d6cf742..b63dce5 100755
--- a/www/static/plugins/plugin.jsx
+++ b/www/static/plugins/plugin.jsx
@@ -102,13 +102,13 @@ var Plugin = createClass({
         )
     },
     componentDidMount: function() {
-        this.setClipboardText();
+        this.copyText();
         if(this.props.plugin) {
             $(this.getDOMNode()).find(".plugins-copy-to-clipboard").tooltip();
         }
     },
     componentDidUpdate: function() {
-        this.setClipboardText();
+        this.copyText();
     }
 });
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org