/** * NOTICE OF LICENSE * * This source file is subject to the Software License Agreement * that is bundled with this package in the file LICENSE.txt. * * @author Peter Sliacky (Zelarg) * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) */ checkoutPaymentParser.ewayrapid = { container: function (element) { // disable this as binary method - we will keep our confirmation button and call popup display by hooking // to .submit event of form element.find('input.binary').removeClass('binary'); }, additionalInformation: function (content) { // let submitHandler = ` // // `; // https://babeljs.io/repl var submitHandler = "\n \n "; // var regex = /document\.addEventListener\("DOMContentLoaded", function\(event\) {\s+(.*)}\);([^}]*<\/script>.*)/g; var subst = "$1$2"; htmlContent = content.html().replace(regex, subst); // remove link include if it's been once included already if ('undefined' !== typeof eCrypt) { regex = /