From 16ff3e8171868fcc807f2e9f39b544c135736447 Mon Sep 17 00:00:00 2001 From: circleci Date: Thu, 28 Nov 2019 14:28:20 +0000 Subject: [PATCH] ci: Compile [skip ci] --- dist/vue-recaptcha.es.js | 6 +++++- dist/vue-recaptcha.js | 6 +++++- dist/vue-recaptcha.min.js | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/dist/vue-recaptcha.es.js b/dist/vue-recaptcha.es.js index 11af7adb3c..1d940cec15 100644 --- a/dist/vue-recaptcha.es.js +++ b/dist/vue-recaptcha.es.js @@ -140,6 +140,10 @@ var VueRecaptcha = { recaptchaHost: { type: String, "default": 'www.google.com' + }, + language: { + type: String, + "default": '' } }, beforeMount: function beforeMount() { @@ -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); diff --git a/dist/vue-recaptcha.js b/dist/vue-recaptcha.js index 3c073f8f58..765713cb59 100644 --- a/dist/vue-recaptcha.js +++ b/dist/vue-recaptcha.js @@ -146,6 +146,10 @@ recaptchaHost: { type: String, "default": 'www.google.com' + }, + language: { + type: String, + "default": '' } }, beforeMount: function beforeMount() { @@ -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); diff --git a/dist/vue-recaptcha.min.js b/dist/vue-recaptcha.min.js index d1eae56571..80b0e56d92 100644 --- a/dist/vue-recaptcha.min.js +++ b/dist/vue-recaptcha.min.js @@ -1 +1 @@ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).VueRecaptcha=t()}(this,(function(){"use strict";function e(){return(e=Object.assign||function(e){for(var t=1;t