We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 566d3ed commit 3211938Copy full SHA for 3211938
modules/angular2/src/core/zone/ng_zone.ts
@@ -422,14 +422,14 @@ export class NgZone {
422
fn();
423
ListWrapper.remove(ngZone._pendingTimeouts, id);
424
};
425
- id = parentSetTimeout(cb, delay, args);
+ id = parentSetTimeout.call(this, cb, delay, args);
426
ngZone._pendingTimeouts.push(id);
427
return id;
428
429
},
430
'$clearTimeout': function(parentClearTimeout) {
431
return function(id: number) {
432
- parentClearTimeout(id);
+ parentClearTimeout.call(this, id);
433
434
435
0 commit comments