PageSourceSearch

https://www.matijardin.fr/modules/totadministrativemandate/views/js/addMoreInfo.js

js matijardin.fr collected 2026-10-03 20:58:44 UTC 1,374 bytes, 37 lines download raw bytes

1/**
2 * Copyright since 2012 202 ecommerce
3 *
4 * NOTICE OF LICENSE
5 *
6 * This source file is subject to the Academic Free License (AFL 3.0)
7 * that is bundled with this package in the file LICENSE.md.
8 * It is also available through the world-wide-web at this URL:
9 * https://opensource.org/licenses/AFL-3.0
10 * If you did not receive a copy of the license and are unable to
11 * obtain it through the world-wide-web, please send an email
12 * to [email protected] so we can send you a copy immediately.
13 *
14 * @author    202 ecommerce <[email protected]>
15 * @copyright Since 2012 202 ecommerce
16 * @license   https://opensource.org/licenses/AFL-3.0  Academic Free License (AFL 3.0)
17 */
18$(document).ready(function() {
19    $("#email").on('input', function (e) {
20        $('#invalid_email').css('display', 'none');
21    });
22
23    $("#email").on('change', function (e) {
24        if (!isValidEmail($('#email[name=email]').val())) {
25            $('#invalid_email').css('display', 'block');
26        }
27    });
28
29    function isValidEmail(email) {
30        return email.match(/^[a-zp{L}0-9!#$%&'*+/=?^`{}|~_-]+[.a-zp{L}0-9!#$%&'*+/=?^`{}|~_-]*@[a-zp{L}0-9]+(?:[.]?[_a-zp{L}0-9-])*.[a-zp{L}0-9]+$/i);
31    }
32
33    $("#totadministrativemandate_popin_confirm").click( function() {
34        $('#totadministrativemandate_popin').css('display', 'block')
35        $.fancybox.close();
36    });
37});

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.