mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-03 03:04:27 +02:00
temporary UNSTABLE since codemod went nuts
This commit is contained in:
parent
2257668f9d
commit
f048f99e7f
14 changed files with 32 additions and 39 deletions
|
@ -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; },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue