PageSourceSearch

https://www.lowellpl.lib.in.us/wp-content/themes/scientia/js/theme-gallery/classie.min.js

js lowellpl.lib.in.us collected 2026-09-24 22:59:06 UTC 967 bytes, 12 lines download raw bytes

1/*!
2 * classie v1.0.1
3 * class helper functions
4 * from bonzo https://github.com/ded/bonzo
5 * MIT license
6 * 
7 * classie.has( elem, 'my-class' ) -> true/false
8 * classie.add( elem, 'my-new-class' )
9 * classie.remove( elem, 'my-unwanted-class' )
10 * classie.toggle( elem, 'my-class' )
11 */
12(function(e){function a(h){return new RegExp("(^|\\s+)"+h+"(\\s+|$)")}var d,f,g;if("classList" in document.documentElement){d=function(h,i){return h.classList.contains(i)};f=function(h,i){h.classList.add(i)};g=function(h,i){h.classList.remove(i)}}else{d=function(h,i){return a(i).test(h.className)};f=function(h,i){if(!d(h,i)){h.className=h.className+" "+i}};g=function(h,i){h.className=h.className.replace(a(i)," ")}}function b(i,j){var h=d(i,j)?g:f;h(i,j)}var c={hasClass:d,addClass:f,removeClass:g,toggleClass:b,has:d,add:f,remove:g,toggle:b};if(typeof define==="function"&&define.amd){define(c)}else{if(typeof exports==="object"){module.exports=c}else{e.classie=c}}})(window);

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.