move config.js to config.json, load by XHR
This commit is contained in:
parent
848b5b7384
commit
102c8af873
4 changed files with 15 additions and 15 deletions
|
@ -1,6 +1,6 @@
|
|||
define(["../config", "moment", "router", "leaflet", "gui", "numeral"],
|
||||
function (config, moment, Router, L, GUI, numeral) {
|
||||
return function () {
|
||||
define(["moment", "router", "leaflet", "gui", "numeral"],
|
||||
function (moment, Router, L, GUI, numeral) {
|
||||
return function (config) {
|
||||
function handleData(data) {
|
||||
var dataNodes = data[0]
|
||||
var dataGraph = data[1]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue