Sha256: 4237fc3df44e665fa560c2b7acd9a666d6d18165eced6f17be8b125e07697fc9
Contents?: true
Size: 935 Bytes
Versions: 5
Compression:
Stored size: 935 Bytes
Contents
/* # ----------------------------------------------------------------------------- # ~/assets/theme/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 # ----------------------------------------------------------------------------- */ "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
5 entries across 5 versions & 1 rubygems