mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-04 11:44:27 +02:00
got rid of every underscore bind i think -- 1500 line diff
This commit is contained in:
parent
3833319476
commit
2257668f9d
21 changed files with 229 additions and 230 deletions
|
@ -77,12 +77,12 @@ AnimationFactory.highlightEachWithPromise = function(
|
|||
destObj
|
||||
) {
|
||||
_.each(toHighlight, function(commit) {
|
||||
chain = chain.then(_.bind(function() {
|
||||
chain = chain.then(function() {
|
||||
return this.playHighlightPromiseAnimation(
|
||||
commit,
|
||||
destObj
|
||||
);
|
||||
}, this));
|
||||
}.bind(this));
|
||||
}, this);
|
||||
return chain;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue