diff --git a/cycleclass.jquery.min.js b/cycleclass.jquery.min.js new file mode 100644 index 0000000..36aecab --- /dev/null +++ b/cycleclass.jquery.min.js @@ -0,0 +1,10 @@ +/*! + * cycleClass jQuery Plugin + * https://github.com/Schorny/cycleClass-jQuery + * + * Copyright 2013, Toni Schornboeck + * + * Released unter the MIT License + * http://opensource.org/licenses/MIT + */ +(function(g){g.fn.cycleClass=function(b,d){d=d||{};if(d.backwards){for(var h=b,j=[],k=h.length,a=k-1;0<=a;--a)j[k-a-1]=h[a];b=j}var f=b.length;return this.each(function(){if(1===this.nodeType){for(var c=(" "+this.className+" ").replace(/[\t\r\n]/g," "),e=-1,a=0;a