From 13543bf2d8666a4aaff4849e142de3165741da24 Mon Sep 17 00:00:00 2001 From: Oliver Gerlich Date: Tue, 5 Jul 2016 22:46:11 +0200 Subject: [PATCH] fix spurious Javascript errors, by specifying dependency ordering --- js/app.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/js/app.js b/js/app.js index d8087e2..7af7352 100644 --- a/js/app.js +++ b/js/app.js @@ -8,6 +8,11 @@ require.config({ "tablesort.numeric": "../bower_components/tablesort/src/sorts/tablesort.numeric" }, shim: { + "leaflet.label": ["leaflet"], + "tablesort": { + exports: "Tablesort" + }, + "tablesort.numeric": ["tablesort"], } }); require(["main", "helper/lib"], function (main) {