浏览代码

fix router

Nils Schneider 9 年之前
父节点
当前提交
7006f5174a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lib/main.js

+ 1 - 0
lib/main.js

@@ -116,6 +116,7 @@ function (config, moment, chroma, Router, Map, Sidebar, Tabs, Container, Meshsta
     }
 
     router = new Router()
+    dataTargets.push(router)
 
     var urls = [ config.dataPath + "nodes.json",
                  config.dataPath + "graph.json"