CoreFiles by mySites.guru
recaptcha.js26 lines, 811 bytes, from Joomla_4.0.0-alpha6-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha5
md5
363d207897fe35877321cea756157455
sha1
1021c4bbf3065e6bb2b0faba4bf0b9c2abd1fd90
sha256
6be6cdb9ea2476e96020346349b80a63d8c696e4cd6a46356b5b370883c1b4dc
/**
* PLEASE DO NOT MODIFY THIS FILE. WORK ON THE ES6 VERSION.
* OTHERWISE YOUR CHANGES WILL BE REPLACED ON THE NEXT BUILD.
**/

/**
 * @package     Joomla.JavaScript
 * @copyright   Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */
window.JoomlaInitReCaptcha2 = function () {
  'use strict';

  var itemNodes = document.getElementsByClassName('g-recaptcha');
  var items = [].slice.call(itemNodes);
  items.forEach(function (item) {
    var options = item.dataset ? item.dataset : {
      sitekey: item.getAttribute('data-sitekey'),
      theme: item.getAttribute('data-theme'),
      size: item.getAttribute('data-size')
    };
    /* global grecaptcha */

    grecaptcha.render(item, options);
  });
};

No other release has this exact content. See every version of this file.