mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
263aa97e66
NOTE: the core js/jquery.tablesorter.js file is no longer UMD wrapped!; this is done by the build process now Updated various parser & widget comments
4 lines
577 B
JavaScript
4 lines
577 B
JavaScript
/*! Parser: dates - updated 10/26/2014 (v2.18.0) */
|
|
!function(a){"use strict";/*! Sugar (http://sugarjs.com/dates#comparing_dates) */
|
|
a.tablesorter.addParser({id:"sugar",is:function(){return!1},format:function(a){var b=Date.create?Date.create(a):a?new Date(a):a;return b instanceof Date&&isFinite(b)?b.getTime():a},type:"numeric"}),/*! Datejs (http://www.datejs.com/) */
|
|
a.tablesorter.addParser({id:"datejs",is:function(){return!1},format:function(a){var b=Date.parse?Date.parse(a):a?new Date(a):a;return b instanceof Date&&isFinite(b)?b.getTime():a},type:"numeric"})}(jQuery); |