Skip to content

Commit

Permalink
ci: Compile [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
DanSnow committed Nov 28, 2019
1 parent 3e07ccb commit 16ff3e8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion dist/vue-recaptcha.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ var VueRecaptcha = {
recaptchaHost: {
type: String,
"default": 'www.google.com'
},
language: {
type: String,
"default": ''
}
},
beforeMount: function beforeMount() {
Expand All @@ -148,7 +152,7 @@ var VueRecaptcha = {
// Note: vueRecaptchaApiLoaded load callback name is per the latest documentation
var script = document.createElement('script');
script.id = this.recaptchaScriptId;
script.src = "https://" + this.recaptchaHost + "/recaptcha/api.js?onload=vueRecaptchaApiLoaded&render=explicit";
script.src = "https://" + this.recaptchaHost + "/recaptcha/api.js?onload=vueRecaptchaApiLoaded&render=explicit&hl=" + this.language;
script.async = true;
script.defer = true;
document.head.appendChild(script);
Expand Down
6 changes: 5 additions & 1 deletion dist/vue-recaptcha.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@
recaptchaHost: {
type: String,
"default": 'www.google.com'
},
language: {
type: String,
"default": ''
}
},
beforeMount: function beforeMount() {
Expand All @@ -154,7 +158,7 @@
// Note: vueRecaptchaApiLoaded load callback name is per the latest documentation
var script = document.createElement('script');
script.id = this.recaptchaScriptId;
script.src = "https://" + this.recaptchaHost + "/recaptcha/api.js?onload=vueRecaptchaApiLoaded&render=explicit";
script.src = "https://" + this.recaptchaHost + "/recaptcha/api.js?onload=vueRecaptchaApiLoaded&render=explicit&hl=" + this.language;
script.async = true;
script.defer = true;
document.head.appendChild(script);
Expand Down
2 changes: 1 addition & 1 deletion dist/vue-recaptcha.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 16ff3e8

Please sign in to comment.