Skip to content

Commit

Permalink
Documentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
MacTheZazou committed Mar 10, 2017
1 parent be511cd commit c007a8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# <invisible-recaptcha>

A Polymer Invisible Recaptcha web-component to detect 🤖 (Polymer 1.x)
A Polymer Invisible Recaptcha web-component for 🤖 detection (Polymer 1.x)

`<invisible-recaptcha>` is an web-component implementation of the Invisible Recaptcha by Google.

Expand Down
7 changes: 1 addition & 6 deletions invisible-recaptcha.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<link rel="import" href="../polymer/polymer.html">

<!--
A Polymer Invisible Recaptcha web-component to detect 🤖 (Polymer 1.x)
A Polymer Invisible Recaptcha web-component for 🤖 detection (Polymer 1.x)
`<invisible-recaptcha>` is an web-component implementation of the Invisible Recaptcha by Google.
Expand All @@ -16,9 +16,6 @@
5. Verify the token with your backend. see https://developers.google.com/recaptcha/docs/verify for more informations.
@demo demo/index.html
-->

Expand Down Expand Up @@ -101,7 +98,6 @@
* Verify if the user is a robot!
*/
verify: function() {
console.log(12);
grecaptcha.execute();
},
/**
Expand All @@ -116,7 +112,6 @@
* @return Token
*/
getResponse: function() {
console.log(grecaptcha.getResponse());
return grecaptcha.getResponse();
},
_handleResponse: function(token) {
Expand Down

0 comments on commit c007a8d

Please sign in to comment.