3482
правки
Изменения
м
/* Test if an element has a certain class **************************************
* * From English Wikipedia, 2008-09-15
* * Description: Uses regular expressions and caching for better performance.
* Maintainers: [[User:Mike Dillon]], [[User:R. Koot]], [[User:SG]]
*/
var hasClass = (function() {
var reCache = {};
return function( element, className ) {
return ( reCache[className] ? reCache[className] : ( reCache[className] = new RegExp( "(?:\\s|^)" + className + "(?:\\s|$)" ) ) ).test( element.className );
};
})();
Нет описания правки
/* Выпадающий список внешнего поиска на странице поиска */
function externalSearchEngines() {