temporary UNSTABLE since codemod went nuts

This commit is contained in:
Peter Cottle 2015-04-20 17:05:21 +10:00
parent 2257668f9d
commit f048f99e7f
14 changed files with 32 additions and 39 deletions

View file

@ -91,7 +91,7 @@ var Visualization = Backbone.View.extend({
this.shown = false;
this.setTreeOpacity(0);
// reflow needed
process.nextTick(this.fadeTreeIn, this));
process.nextTick(this.fadeTreeIn.bind(this));
this.customEvents.trigger('gitEngineReady');
this.customEvents.trigger('paperReady');
@ -99,7 +99,7 @@ var Visualization = Backbone.View.extend({
clearOrigin: function() {
delete this.originVis;
}.bind(this)
}.bind(this),
makeOrigin: function(options) {
// oh god, here we go. We basically do a bizarre form of composition here,
@ -186,7 +186,7 @@ var Visualization = Backbone.View.extend({
show: function() {
$(this.paper.canvas).css('visibility', 'visible');
setTimeout(this.fadeTreeIn, this), 10);
setTimeout(this.fadeTreeIn.bind(this), 10);
this.originToo('show', arguments);
this.myResize();
},
@ -196,7 +196,7 @@ var Visualization = Backbone.View.extend({
this.setTreeOpacity(1);
this.originToo('showHarsh', arguments);
this.myResize();
}.bind(this)
}.bind(this),
resetFromThisTreeNow: function(treeString) {
this.treeString = treeString;