PageSourceSearch

https://masterchem.ee/wp-content/themes/consultancy/framework/js/jquery.classie.js

js masterchem.ee collected 2026-10-08 10:23:18 UTC 1,019 bytes, 14 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 */
10
11/*jshint browser: true, strict: true, undef: true */
12/*global define: false */
13
14!function(s){"use strict";function e(s){return new RegExp("(^|\\s+)"+s+"(\\s+|$)")}function n(s,e){var n=t(s,e)?c:a;n(s,e)}var t,a,c;"classList"in document.documentElement?(t=function(s,e){return s.classList.contains(e)},a=function(s,e){s.classList.add(e)},c=function(s,e){s.classList.remove(e)}):(t=function(s,n){return e(n).test(s.className)},a=function(s,e){t(s,e)||(s.className=s.className+" "+e)},c=function(s,n){s.className=s.className.replace(e(n)," ")});var o={hasClass:t,addClass:a,removeClass:c,toggleClass:n,has:t,add:a,remove:c,toggle:n};"function"==typeof define&&define.amd?define(o):"object"==typeof exports?module.exports=o:s.classie=o}(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.