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

@ -107,7 +107,7 @@ var GeneralButton = ContainedBase.extend({
click: function() {
if (!this.clickFunc) {
this.clickFunc = _.throttle(
this.sendClick, this),
this.sendClick.bind(this),
500
);
}
@ -578,11 +578,11 @@ var CanvasTerminalHolder = BaseView.extend({
// If the entire window gets resized such that the terminal is outside the view, then
// move it back into the view, and expand/shrink it vertically as necessary.
$(window).on('resize', _.debounce(this.recalcLayout, this), 300));
$(window).on('resize', _.debounce(this.recalcLayout.bind(this), 300));
if (options.additionalClass) {
this.$el.addClass(options.additionalClass);
}.bind(this)
}
},
getAnimationTime: function() { return 700; },