jquery.dgtable 0.6.13 → 0.6.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/jquery.dgtable.cjs.js +2 -14
- package/dist/jquery.dgtable.cjs.js.map +1 -1
- package/dist/jquery.dgtable.cjs.min.js +2 -2
- package/dist/jquery.dgtable.cjs.min.js.map +1 -1
- package/dist/jquery.dgtable.es6.js +2 -14
- package/dist/jquery.dgtable.es6.js.map +1 -1
- package/dist/jquery.dgtable.es6.min.js +2 -2
- package/dist/jquery.dgtable.es6.min.js.map +1 -1
- package/dist/jquery.dgtable.umd.js +3 -15
- package/dist/jquery.dgtable.umd.js.map +1 -1
- package/dist/jquery.dgtable.umd.min.js +2 -2
- package/dist/jquery.dgtable.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/row_collection.js +1 -13
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* jquery.dgtable 0.6.
|
|
2
|
+
* jquery.dgtable 0.6.14
|
|
3
3
|
* git://github.com/danielgindi/jquery.dgtable.git
|
|
4
4
|
*/
|
|
5
5
|
'use strict';
|
|
@@ -2052,11 +2052,6 @@ RowCollection.prototype.onComparatorRequired = null;
|
|
|
2052
2052
|
*/
|
|
2053
2053
|
RowCollection.prototype.customSortingProvider = null;
|
|
2054
2054
|
|
|
2055
|
-
/**
|
|
2056
|
-
* @type {Function|null|undefined}
|
|
2057
|
-
*/
|
|
2058
|
-
RowCollection.prototype.onSort = null;
|
|
2059
|
-
|
|
2060
2055
|
let nativeSort = RowCollection.prototype.sort;
|
|
2061
2056
|
|
|
2062
2057
|
function getDefaultComparator(column, descending) {
|
|
@@ -2088,10 +2083,9 @@ function getDefaultComparator(column, descending) {
|
|
|
2088
2083
|
}
|
|
2089
2084
|
|
|
2090
2085
|
/**
|
|
2091
|
-
* @param {Boolean=false} silent
|
|
2092
2086
|
* @returns {Function|undefined} the comparator that was used
|
|
2093
2087
|
*/
|
|
2094
|
-
RowCollection.prototype.sort = function (
|
|
2088
|
+
RowCollection.prototype.sort = function () {
|
|
2095
2089
|
let comparator;
|
|
2096
2090
|
|
|
2097
2091
|
if (this.sortColumn.length) {
|
|
@@ -2136,12 +2130,6 @@ RowCollection.prototype.sort = function (silent) {
|
|
|
2136
2130
|
} else {
|
|
2137
2131
|
sorter(this);
|
|
2138
2132
|
}
|
|
2139
|
-
|
|
2140
|
-
if (!silent) {
|
|
2141
|
-
if (this.onSort) {
|
|
2142
|
-
this.onSort(comparator);
|
|
2143
|
-
}
|
|
2144
|
-
}
|
|
2145
2133
|
}
|
|
2146
2134
|
|
|
2147
2135
|
return comparator;
|