refactor main, app
This commit is contained in:
parent
056c46331d
commit
3a501766ff
3 changed files with 8 additions and 6 deletions
|
@ -1,8 +1,6 @@
|
|||
require(["config", "moment", "chroma-js", "router", "map", "sidebar", "tabs", "container", "meshstats", "linklist", "nodelist", "simplenodelist", "infobox/main", "helper"],
|
||||
function (Config, moment, chroma, Router, Map, Sidebar, Tabs, Container, Meshstats, Linklist, Nodelist, SimpleNodelist, Infobox) {
|
||||
main(Config)
|
||||
|
||||
function main(config) {
|
||||
define(["config", "moment", "chroma-js", "router", "map", "sidebar", "tabs", "container", "meshstats", "linklist", "nodelist", "simplenodelist", "infobox/main"],
|
||||
function (config, moment, chroma, Router, Map, Sidebar, Tabs, Container, Meshstats, Linklist, Nodelist, SimpleNodelist, Infobox) {
|
||||
return function () {
|
||||
var linklist, lostnodeslist, map, meshstats, newnodeslist, nodelist, router
|
||||
|
||||
function createGUI() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue