Skip to content

Commit

Permalink
provide this to closure (#1081)
Browse files Browse the repository at this point in the history
  • Loading branch information
waltjones committed Jan 4, 2023
1 parent d7e9cbe commit e2b98e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/browser/transport.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ Transport.prototype._makeZoneRequest = function () {

if (currentZone && currentZone._name === 'angular') {
var rootZone = currentZone._parent;
var self = this;
rootZone.run(function () {
this._makeRequest.apply(undefined, args);
self._makeRequest.apply(undefined, args);
});
} else {
this._makeRequest.apply(undefined, args);
Expand Down

0 comments on commit e2b98e0

Please sign in to comment.