fix: undefined is not an object evaluating this., #9538

This commit is contained in:
Torkel Ödegaard 2017-10-28 13:28:06 +02:00
parent 43d45f9fae
commit 3e3cef28ec

View File

@ -21,7 +21,7 @@ export class Timer {
} }
cancelAll() { cancelAll() {
_.each(this.timers, function (t) { _.each(this.timers, t => {
this.$timeout.cancel(t); this.$timeout.cancel(t);
}); });
this.timers = []; this.timers = [];