Skip to content

Commit

Permalink
fix(ofType): don't depend on letProto as it has issues in UMD builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jayphelps committed Oct 30, 2017
1 parent fb4a5af commit 150c1d5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ActionsObservable.js
@@ -1,7 +1,6 @@
import { Observable } from 'rxjs/Observable'; import { Observable } from 'rxjs/Observable';
import { of } from 'rxjs/observable/of'; import { of } from 'rxjs/observable/of';
import { from } from 'rxjs/observable/from'; import { from } from 'rxjs/observable/from';
import { letProto } from 'rxjs/operator/let';
import { ofType } from './operators'; import { ofType } from './operators';


export class ActionsObservable extends Observable { export class ActionsObservable extends Observable {
Expand All @@ -25,6 +24,6 @@ export class ActionsObservable extends Observable {
} }


ofType(...keys) { ofType(...keys) {
return this::letProto(ofType(...keys)); return ofType(...keys)(this);
} }
} }

0 comments on commit 150c1d5

Please sign in to comment.