Permalink
Browse files

fix(ofType): don't depend on letProto as it has issues in UMD builds

  • Loading branch information...
jayphelps committed Oct 30, 2017
1 parent fb4a5af commit 150c1d558ced5dd3631896757388c7ba6e886c0c
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/ActionsObservable.js
@@ -1,7 +1,6 @@
import { Observable } from 'rxjs/Observable';
import { of } from 'rxjs/observable/of';
import { from } from 'rxjs/observable/from';
import { letProto } from 'rxjs/operator/let';
import { ofType } from './operators';

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

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

0 comments on commit 150c1d5

Please sign in to comment.