more refactor

This commit is contained in:
Peter Cottle 2012-11-03 17:26:20 -07:00
parent 4e30d1b511
commit 527ec6a123
2 changed files with 3 additions and 2 deletions

View file

@ -28,10 +28,8 @@ var Visualization = Backbone.View.extend({
this.gitEngine.init();
this.gitVisuals.assignGitEngine(this.gitEngine);
// needs to be called before raphael ready
this.myResize();
$(window).on('resize', _.bind(this.myResize, this));
this.gitVisuals.drawTreeFirstTime();
},