Sha256: 3192e5c7cac24300ca03685f87b170870c853e2622d06eb50afe5310af1fa476
Contents?: true
Size: 862 Bytes
Versions: 12
Compression:
Stored size: 862 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, 2024 Juergen Adams # # J1 Template 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
12 entries across 12 versions & 1 rubygems