Sha256: 0e8854f49d37c742c8b9d6d2bde428ebe8259a1ee8a08a5bf1c4b67fd05c9294
Contents?: true
Size: 939 Bytes
Versions: 12
Compression:
Stored size: 939 Bytes
Contents
/* # ----------------------------------------------------------------------------- # ~/assets/themes/j1/modules/jquery/js/extensions/removeClass.js # jQuery Plugin for J1 Theme # 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) 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(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
12 entries across 12 versions & 1 rubygems