diff --git a/sorting/date-de.js b/sorting/date-de.js index e6604d7..c97018d 100644 --- a/sorting/date-de.js +++ b/sorting/date-de.js @@ -66,15 +66,15 @@ "de_date-asc": function ( a, b ) { var x, y; - if (j$.trim(a) !== '') { - var deDatea = j$.trim(a).split('.'); + if ($.trim(a) !== '') { + var deDatea = $.trim(a).split('.'); x = (deDatea[2] + deDatea[1] + deDatea[0]) * 1; } else { x = Infinity; // = l'an 1000 ... } - if (j$.trim(b) !== '') { - var deDateb = j$.trim(b).split('.'); + if ($.trim(b) !== '') { + var deDateb = $.trim(b).split('.'); y = (deDateb[2] + deDateb[1] + deDateb[0]) * 1; } else { y = Infinity; @@ -85,15 +85,15 @@ "de_date-desc": function ( a, b ) { var x, y; - if (j$.trim(a) !== '') { - var deDatea = j$.trim(a).split('.'); + if ($.trim(a) !== '') { + var deDatea = $.trim(a).split('.'); x = (deDatea[2] + deDatea[1] + deDatea[0]) * 1; } else { x = Infinity; } - if (j$.trim(b) !== '') { - var deDateb = j$.trim(b).split('.'); + if ($.trim(b) !== '') { + var deDateb = $.trim(b).split('.'); y = (deDateb[2] + deDateb[1] + deDateb[0]) * 1; } else { y = Infinity;