Sha256: 156fb04bbaf40276fb14bc1b61392d49b731d6937fcd9bbe5fc09c6970119e2a
Contents?: true
Size: 858 Bytes
Versions: 4
Compression:
Stored size: 858 Bytes
Contents
/* # ----------------------------------------------------------------------------- # ~/assets/themes/j1/modules/jquery/js/extensions/hasClass.js # jQuery Plugin for J1 Template # Used to check whether selected elements have specified class name or not. # # Product/Info: # https://jekyll.one # https://github.com/Dogfalo/materialize # # Copyright (C) 2022 Juergen Adams # # J1 Template is licensed under the MIT License. # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE # ----------------------------------------------------------------------------- */ "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
4 entries across 4 versions & 1 rubygems