fix loadState

This commit is contained in:
Nils Schneider 2015-03-25 21:02:03 +01:00
parent 1e6e868bfb
commit c79dff9111

View file

@ -94,6 +94,8 @@ define(function () {
}
self.addTarget = function (d) { targets.push(d) }
self.loadState = loadState
self.setData = function (nodes, links) {
objects.nodes = {}
objects.links = {}