mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-25 23:48:34 +02:00
before refactor
This commit is contained in:
parent
ee02aea414
commit
bbdaa37abd
5 changed files with 30 additions and 24 deletions
|
@ -37,9 +37,7 @@ function GitVisuals(options) {
|
|||
this.deferred = [];
|
||||
|
||||
this.events = require('../app').getEvents();
|
||||
this.events.on('refreshTree', _.bind(
|
||||
this.refreshTree, this
|
||||
));
|
||||
this.events.on('refreshTree', this.refreshTree, this);
|
||||
}
|
||||
|
||||
GitVisuals.prototype.defer = function(action) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue