1/** 2 * NOTICE OF LICENSE 3 * 4 * This source file is subject to the Software License Agreement 5 * that is bundled with this package in the file LICENSE.txt. 6 * 7 * @author Peter Sliacky (Zelarg) 8 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 9 */ 10 11checkoutPaymentParser.mollie = { 12 13 form: function (element) { 14 var paymentOption = element.attr('id').match(/payment-option-\d+/)[0]; 15 16 var potentialFeeEl = element.find('[name=payment-fee-price]'); 17 if (potentialFeeEl.length == 1) { 18 var fee = payment.parsePrice(potentialFeeEl.val()); 19 var container = element.parent('.tc-main-title').find('.payment-option'); 20 container.last().append('<div class="payment-option-fee hidden" id="' + paymentOption + '-fee">' + fee + '</div>'); 21 22 var potentialFeeLabelEl = element.find('[name=payment-fee-price-display]'); 23 if (potentialFeeLabelEl.length == 1) { 24 container.find('label span.h6').append(' <span class="fee">(' + potentialFeeLabelEl.val() + ')</span>'); 25 } 26 } 27 }, 28 29} 30 31
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.