-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Subject.create): ensure operator property not required for Observ…
…able subscription Because Subject was calling Observable.prototype._subscribe internally, in a situation where a raw Observable was passed into Subject.create() that had no operators applied to it, it would error because Observable.prototype._subscribe assumes the existence of an operator in the operator property. This adds a check to correct that behavior in this cases fixes #483
- Loading branch information
Showing
2 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters