refactor Infobox (own module)

This commit is contained in:
Nils Schneider 2015-03-25 11:21:09 +01:00
commit 5fb3cf5d20
6 changed files with 312 additions and 313 deletions

View file

@ -55,7 +55,7 @@ define(function () {
var groupOnline, group
return function (sidebar) {
return function (sidebar, gotoAnything) {
var self = this
var el = document.createElement("div")
@ -76,7 +76,7 @@ define(function () {
var nodeDict = {}
var linkDict = {}
self.setData = function (linkScale, sidebar, now, newnodes, lostnodes, onlinenodes, links, gotoAnything) {
self.setData = function (linkScale, sidebar, now, newnodes, lostnodes, onlinenodes, links) {
nodeDict = {}
linkDict = {}