PageSourceSearch

https://eltelescopiodigital.com/modules/mod_customenu/customenu/js/customenu.js

js eltelescopiodigital.com collected 2026-10-03 01:15:44 UTC 725 bytes, 24 lines download raw bytes

1/**
2 * Helper File
3 *
4 * @package     CustoMenu
5 * @version     2.6.4
6 *
7 * @author      Peter van Westen <[email protected]>
8 * @link        http://www.nonumber.nl
9 * @copyright   Copyright © 2011 NoNumber! All Rights Reserved
10 * @license     http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
11 */
12
13function changeClassName( el, oldClass, newClass )
14{
15	if ( el.className.match( new RegExp( '(\\s|^)'+oldClass+'(\\s|$)' ) ) ) {
16		// remove oldClass
17		var reg = new RegExp( '(\\s|^)'+oldClass+'(\\s|$)' );
18		el.className = el.className.replace( reg, ' ' ).trim();
19	}
20	if ( !el.className.match( new RegExp( '(\\s|^)'+newClass+'(\\s|$)' ) ) ) {
21		// add newClass
22		el.className = ( el.className.trim()+' '+newClass ).trim();
23	}
24}

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.