From a627e2febc4d27ae948cb3d828634558de5b8b2c Mon Sep 17 00:00:00 2001 From: Xaver Maierhofer Date: Thu, 26 May 2016 01:48:56 +0200 Subject: [PATCH] [TASK] Remove tablesort number No complex different styled numbers need to be sorted --- app.js | 6 ++---- lib/infobox/node.js | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/app.js b/app.js index 8720290..899049a 100644 --- a/app.js +++ b/app.js @@ -7,8 +7,7 @@ require.config({ "chroma-js": "../bower_components/chroma-js/chroma.min", "moment": "../bower_components/moment/min/moment.min", "moment.de": "../bower_components/moment/locale/de", - "tablesort": "../bower_components/tablesort/tablesort.min", - "tablesort.number": "../bower_components/tablesort/src/sorts/tablesort.number", + "tablesort": "../bower_components/tablesort/src/tablesort", "d3": "../bower_components/d3/d3.min", "virtual-dom": "../bower_components/virtual-dom/dist/virtual-dom", "rbush": "../bower_components/rbush/rbush", @@ -20,8 +19,7 @@ require.config({ "moment.de": ["moment"], "tablesort": { exports: "Tablesort" - }, - "tablesort.number": ["tablesort"] + } } }); diff --git a/lib/infobox/node.js b/lib/infobox/node.js index 421a60d..415596b 100644 --- a/lib/infobox/node.js +++ b/lib/infobox/node.js @@ -1,4 +1,4 @@ -define(["moment", "tablesort", "tablesort.number", "moment.de"], +define(["moment", "tablesort", "moment.de"], function (moment, Tablesort) { function showGeoURI(d) { function showLatitude(d) {