Skip to content
This repository was archived by the owner on Apr 20, 2018. It is now read-only.

Commit 338f1c8

Browse files
Fixing Issue #763
1 parent e8582b4 commit 338f1c8

25 files changed

Lines changed: 97 additions & 79 deletions

dist/rx.all.compat.js

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4428,19 +4428,21 @@ var FlatMapObservable = (function(__super__){
44284428
inherits(TapObservable,__super__);
44294429
function TapObservable(source, observerOrOnNext, onError, onCompleted) {
44304430
this.source = source;
4431-
this.t = !observerOrOnNext || isFunction(observerOrOnNext) ?
4432-
observerCreate(observerOrOnNext || noop, onError || noop, onCompleted || noop) :
4433-
observerOrOnNext;
4431+
this._oN = observerOrOnNext;
4432+
this._oE = onError;
4433+
this._oC = onCompleted;
44344434
__super__.call(this);
44354435
}
44364436

44374437
TapObservable.prototype.subscribeCore = function(o) {
4438-
return this.source.subscribe(new InnerObserver(o, this.t));
4438+
return this.source.subscribe(new InnerObserver(o, this));
44394439
};
44404440

4441-
function InnerObserver(o, t) {
4441+
function InnerObserver(o, p) {
44424442
this.o = o;
4443-
this.t = t;
4443+
this.t = !p._oN || isFunction(p._oN) ?
4444+
observerCreate(p._oN || noop, p._oE || noop, p._oC || noop) :
4445+
p._oN;
44444446
this.isStopped = false;
44454447
}
44464448
InnerObserver.prototype.onNext = function(x) {

dist/rx.all.compat.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/rx.all.compat.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/rx.all.js

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4283,19 +4283,21 @@ var FlatMapObservable = (function(__super__){
42834283
inherits(TapObservable,__super__);
42844284
function TapObservable(source, observerOrOnNext, onError, onCompleted) {
42854285
this.source = source;
4286-
this.t = !observerOrOnNext || isFunction(observerOrOnNext) ?
4287-
observerCreate(observerOrOnNext || noop, onError || noop, onCompleted || noop) :
4288-
observerOrOnNext;
4286+
this._oN = observerOrOnNext;
4287+
this._oE = onError;
4288+
this._oC = onCompleted;
42894289
__super__.call(this);
42904290
}
42914291

42924292
TapObservable.prototype.subscribeCore = function(o) {
4293-
return this.source.subscribe(new InnerObserver(o, this.t));
4293+
return this.source.subscribe(new InnerObserver(o, this));
42944294
};
42954295

4296-
function InnerObserver(o, t) {
4296+
function InnerObserver(o, p) {
42974297
this.o = o;
4298-
this.t = t;
4298+
this.t = !p._oN || isFunction(p._oN) ?
4299+
observerCreate(p._oN || noop, p._oE || noop, p._oC || noop) :
4300+
p._oN;
42994301
this.isStopped = false;
43004302
}
43014303
InnerObserver.prototype.onNext = function(x) {

dist/rx.all.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/rx.all.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/rx.compat.js

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4342,19 +4342,21 @@ var FlatMapObservable = (function(__super__){
43424342
inherits(TapObservable,__super__);
43434343
function TapObservable(source, observerOrOnNext, onError, onCompleted) {
43444344
this.source = source;
4345-
this.t = !observerOrOnNext || isFunction(observerOrOnNext) ?
4346-
observerCreate(observerOrOnNext || noop, onError || noop, onCompleted || noop) :
4347-
observerOrOnNext;
4345+
this._oN = observerOrOnNext;
4346+
this._oE = onError;
4347+
this._oC = onCompleted;
43484348
__super__.call(this);
43494349
}
43504350

43514351
TapObservable.prototype.subscribeCore = function(o) {
4352-
return this.source.subscribe(new InnerObserver(o, this.t));
4352+
return this.source.subscribe(new InnerObserver(o, this));
43534353
};
43544354

4355-
function InnerObserver(o, t) {
4355+
function InnerObserver(o, p) {
43564356
this.o = o;
4357-
this.t = t;
4357+
this.t = !p._oN || isFunction(p._oN) ?
4358+
observerCreate(p._oN || noop, p._oE || noop, p._oC || noop) :
4359+
p._oN;
43584360
this.isStopped = false;
43594361
}
43604362
InnerObserver.prototype.onNext = function(x) {

dist/rx.compat.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/rx.compat.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/rx.js

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4151,19 +4151,21 @@ var FlatMapObservable = (function(__super__){
41514151
inherits(TapObservable,__super__);
41524152
function TapObservable(source, observerOrOnNext, onError, onCompleted) {
41534153
this.source = source;
4154-
this.t = !observerOrOnNext || isFunction(observerOrOnNext) ?
4155-
observerCreate(observerOrOnNext || noop, onError || noop, onCompleted || noop) :
4156-
observerOrOnNext;
4154+
this._oN = observerOrOnNext;
4155+
this._oE = onError;
4156+
this._oC = onCompleted;
41574157
__super__.call(this);
41584158
}
41594159

41604160
TapObservable.prototype.subscribeCore = function(o) {
4161-
return this.source.subscribe(new InnerObserver(o, this.t));
4161+
return this.source.subscribe(new InnerObserver(o, this));
41624162
};
41634163

4164-
function InnerObserver(o, t) {
4164+
function InnerObserver(o, p) {
41654165
this.o = o;
4166-
this.t = t;
4166+
this.t = !p._oN || isFunction(p._oN) ?
4167+
observerCreate(p._oN || noop, p._oE || noop, p._oC || noop) :
4168+
p._oN;
41674169
this.isStopped = false;
41684170
}
41694171
InnerObserver.prototype.onNext = function(x) {

0 commit comments

Comments
 (0)