Sha256: c45584bf2c7cdc0d6c1bdd6629fbf617fd542fbc7403b47e4271b539ac5a815d
Contents?: true
Size: 935 Bytes
Versions: 4
Compression:
Stored size: 935 Bytes
Contents
/* # ----------------------------------------------------------------------------- # ~/assets/themes/j1/modules/jquery/js/extensions/removeClass.js # jQuery Plugin for J1 Template # Used to to remove one or more class names from a selected element. # # 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(e){jQuery.fn.removeClass=function(s){if(s&&"function"==typeof s.test)for(var t=0,i=this.length;t<i;t++){var r=this[t];if(1===r.nodeType&&r.className){for(var n=r.className.split(/\s+/),a=n.length;a--;)s.test(n[a])&&n.splice(a,1);r.className=jQuery.trim(n.join(" "))}}else e.call(this,s);return this}}(jQuery.fn.removeClass);
Version data entries
4 entries across 4 versions & 1 rubygems