PageSourceSearch

https://bluebonnetschool.com/js/classie.js

js bluebonnetschool.com collected 2026-10-06 18:01:31 UTC 869 bytes, 9 lines download raw bytes

1/*!
2 * classie - class helper functions
3 * from bonzo https://github.com/ded/bonzo
4 * 
5 * classie.has( elem, 'my-class' ) -> true/false
6 * classie.add( elem, 'my-new-class' )
7 * classie.remove( elem, 'my-unwanted-class' )
8 * classie.toggle( elem, 'my-class' )
9 */ !function(s){"use strict";function a(s){return RegExp("(^|\\s+)"+s+"(\\s+|$)")}function n(s,a){(t(s,a)?c:e)(s,a)}"classList"in document.documentElement?(t=function(s,a){return s.classList.contains(a)},e=function(s,a){s.classList.add(a)},c=function(s,a){s.classList.remove(a)}):(t=function(s,n){return a(n).test(s.className)},e=function(s,a){t(s,a)||(s.className=s.className+" "+a)},c=function(s,n){s.className=s.className.replace(a(n)," ")});var t,e,c,i={hasClass:t,addClass:e,removeClass:c,toggleClass:n,has:t,add:e,remove:c,toggle:n};"function"==typeof define&&define.amd?define(i):s.classie=i}(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.