diff options
Diffstat (limited to 'src/model')
| -rw-r--r-- | src/model/graph.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/model/graph.js b/src/model/graph.js index 29fad587..19692073 100644 --- a/src/model/graph.js +++ b/src/model/graph.js @@ -9,11 +9,8 @@ function Graph() { var nodes = [], links = [], - user, - userBus = new Bacon.Bus(), diffBus = new Bacon.Bus(); - this.userBus = userBus; this.diffBus = diffBus; /** @@ -626,10 +623,7 @@ function Graph() { this.set_user = function(user) { var elem = $('svg g.zoom')[0]; this.user = user; - this.history = new history.History(this.user, this, elem); - console.log('new user: ' + this.user); - this.userBus.push(this.user); } function clear_history() { @@ -691,12 +685,6 @@ function Graph() { return selected; } - user = util.getParameterByName('user'); - if (user) { - var self = this; - console.log('setting user from parameter to: ' + user); - setTimeout(function() { self.set_user(user); }, 0); - } } return { |
