Changes

Jump to navigation Jump to search
266 bytes removed ,  20:52, 28 February 2010
no edit summary
Line 24: Line 24:  
  * Maintainers: User:Mike Dillon, User:R. Koot, User:SG
 
  * 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);
  −
    };
  −
})();
      
  /** Collapsible tables *********************************************************
 
  /** Collapsible tables *********************************************************

Navigation menu