You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
varpatchSubscriber=function(){varSubscriber$$1=Rx.Subscriber;varnext=Subscriber$$1.prototype.next;varerror=Subscriber$$1.prototype.error;varcomplete=Subscriber$$1.prototype.complete;varunsubscribe=Subscriber$$1.prototype.unsubscribe;// patch Subscriber.next to make sure it run// into SubscriptionZoneSubscriber$$1.prototype.next=function(){varcurrentZone=Zone.current;varsubscriptionZone=this._zone;// for performance concern, check Zone.current// equal with this._zone(SubscriptionZone) or notif(subscriptionZone&&subscriptionZone!==currentZone){returnsubscriptionZone.run(next,this,arguments,nextSource);}else{returnnext.apply(this,arguments);}};Subscriber$$1.prototype.error=function(){varcurrentZone=Zone.current;varsubscriptionZone=this._zone;// for performance concern, check Zone.current// equal with this._zone(SubscriptionZone) or notif(subscriptionZone&&subscriptionZone!==currentZone){returnsubscriptionZone.run(error,this,arguments,errorSource);}else{returnerror.apply(this,arguments);}};Subscriber$$1.prototype.complete=function(){varcurrentZone=Zone.current;varsubscriptionZone=this._zone;// for performance concern, check Zone.current// equal with this._zone(SubscriptionZone) or notif(subscriptionZone&&subscriptionZone!==currentZone){returnsubscriptionZone.run(complete,this,arguments,completeSource);}else{returncomplete.apply(this,arguments);}};Subscriber$$1.prototype.unsubscribe=function(){varcurrentZone=Zone.current;varsubscriptionZone=this._zone;// for performance concern, check Zone.current// equal with this._zone(SubscriptionZone) or notif(subscriptionZone&&subscriptionZone!==currentZone){returnsubscriptionZone.run(unsubscribe,this,arguments,unsubscribeSource);}else{returnunsubscribe.apply(this,arguments);}};};
lib/rxjs/rxjs.ts
constpatchSubscriber=function(){constnext=Subscriber.prototype.next;consterror=Subscriber.prototype.error;constcomplete=Subscriber.prototype.complete;Object.defineProperty(Subscriber.prototype,'destination',{configurable: true,get: function(this: Subscriber<any>){return(thisasany)._zoneDestination;},set: function(this: Subscriber<any>,destination: any){(thisasany)._zone=Zone.current;(thisasany)._zoneDestination=destination;}});// patch Subscriber.next to make sure it run// into SubscriptionZoneSubscriber.prototype.next=function(){constcurrentZone=Zone.current;constsubscriptionZone=this._zone;// for performance concern, check Zone.current// equal with this._zone(SubscriptionZone) or notif(subscriptionZone&&subscriptionZone!==currentZone){returnsubscriptionZone.run(next,this,arguments,nextSource);}else{returnnext.apply(this,arguments);}};Subscriber.prototype.error=function(){constcurrentZone=Zone.current;constsubscriptionZone=this._zone;// for performance concern, check Zone.current// equal with this._zone(SubscriptionZone) or notif(subscriptionZone&&subscriptionZone!==currentZone){returnsubscriptionZone.run(error,this,arguments,errorSource);}else{returnerror.apply(this,arguments);}};Subscriber.prototype.complete=function(){constcurrentZone=Zone.current;constsubscriptionZone=this._zone;// for performance concern, check Zone.current// equal with this._zone(SubscriptionZone) or notif(subscriptionZone&&subscriptionZone!==currentZone){returnsubscriptionZone.run(complete,this,arguments,completeSource);}else{returncomplete.apply(this,arguments);}};};
dist/zone-patch-rxjs.js
lib/rxjs/rxjs.ts
missing compiled code
The text was updated successfully, but these errors were encountered: