got rid of every underscore bind i think -- 1500 line diff

This commit is contained in:
Peter Cottle 2015-04-20 16:41:56 +10:00
parent 3833319476
commit 2257668f9d
21 changed files with 229 additions and 230 deletions

View file

@ -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;
};