proportions: sort firmware based on version
This commit is contained in:
parent
5a278f5b86
commit
aeae866998
2 changed files with 63 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
define(["chroma-js", "virtual-dom", "numeral-intl"],
|
||||
function (Chroma, V, numeral) {
|
||||
define(["chroma-js", "virtual-dom", "numeral-intl", "vercomp" ],
|
||||
function (Chroma, V, numeral, vercomp) {
|
||||
|
||||
return function (config) {
|
||||
var self = this
|
||||
|
|
@ -128,7 +128,7 @@ define(["chroma-js", "virtual-dom", "numeral-intl"],
|
|||
})
|
||||
|
||||
fillTable(statusTable, statusDict.sort(function (a, b) { return b[1] - a[1] }))
|
||||
fillTable(fwTable, fwDict.sort(function (a, b) { return b[1] - a[1] }))
|
||||
fillTable(fwTable, fwDict.sort(function (a, b) { return vercomp(b[0], a[0]) }))
|
||||
fillTable(hwTable, hwDict.sort(function (a, b) { return b[1] - a[1] }))
|
||||
fillTable(geoTable, geoDict.sort(function (a, b) { return b[1] - a[1] }))
|
||||
fillTable(autoTable, autoDict.sort(function (a, b) { return b[1] - a[1] }))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue