Sha256: b1f309167bc067c92ac19568cd16a5b88689afdf3326c0532bb4312393d48562
Contents?: true
Size: 853 Bytes
Versions: 47
Compression:
Stored size: 853 Bytes
Contents
/* # ----------------------------------------------------------------------------- # ~/assets/themes/j1/modules/jquery/js/extensions/hasClass.js # jQuery Plugin for J1 Theme # Used to check whether selected elements have specified class name or not. # # Product/Info: # https://jekyll.one # https://github.com/Dogfalo/materialize # # Copyright (C) 2023 Juergen Adams # # J1 Theme is licensed under the MIT License. # See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md # ----------------------------------------------------------------------------- */ "use strict";!function(t){jQuery.fn.hasClass=function(s){if(s&&"function"==typeof s.test){for(var n=0,r=this.length;n<r;n++)for(var e=this[n].className.split(/\s+/),f=0,i=e.length;f<i;f++)if(s.test(e[f]))return!0;return!1}return t.call(this,s)}}(jQuery.fn.hasClass);
Version data entries
47 entries across 45 versions & 1 rubygems