shop.balmet.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

jquery.tinysort.min.js (912B)


      1 /**
      2  * jQuery plugin wrapper for TinySort
      3  * Does not use the first argument in tinysort.js since that is handled internally by the jQuery selector.
      4  * Sub-selections (option.selector) do not use the jQuery selector syntax but regular CSS3 selector syntax.
      5  * @summary jQuery plugin wrapper for TinySort
      6  * @version 2.3.6
      7  * @requires tinysort
      8  * @license MIT/GPL
      9  * @author Ron Valstar (http://www.sjeiti.com/)
     10  * @copyright Ron Valstar <ron@ronvalstar.nl>
     11  */
     12 !function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery","tinysort"],t):jQuery&&!jQuery.fn.tsort&&t(jQuery,tinysort)}(function(t,n){"use strict";t.tinysort={defaults:n.defaults},t.fn.extend({tinysort:function(){var t,e,i=Array.prototype.slice.call(arguments);i.unshift(this),t=n.apply(null,i),e=t.length;for(var r=0,s=this.length;s>r;r++)e>r?this[r]=t[r]:delete this[r];return this.length=e,this}}),t.fn.tsort=t.fn.tinysort});