Skip to content

Commit

Permalink
chore(operators): remove shareBehavior and shareReplay
Browse files Browse the repository at this point in the history
BREAKING: shareBehavior and shareReplay are no longer operators on Observable
closes #453
  • Loading branch information
benlesh committed Nov 5, 2015
1 parent 7992a87 commit 8b8d0e5
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 265 deletions.
151 changes: 0 additions & 151 deletions spec/operators/shareBehavior-spec.js

This file was deleted.

85 changes: 0 additions & 85 deletions spec/operators/shareReplay-spec.js

This file was deleted.

2 changes: 0 additions & 2 deletions src/CoreOperators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ export interface CoreOperators<T> {
sampleTime?: <T>(delay: number, scheduler?: Scheduler) => Observable<T>;
scan?: <R>(project: (acc: R, x: T) => R, acc?: R) => Observable<R>;
share?: () => Observable<T>;
shareBehavior?: (value: any) => Observable<T>;
shareReplay?: (bufferSize: number, windowTime: number, scheduler?: Scheduler) => Observable<T>;
single?: (predicate?: (value: T, index:number) => boolean, thisArg?: any) => Observable<T>;
skip?: (count: number) => Observable<T>;
skipUntil?: (notifier: Observable<any>) => Observable<T>;
Expand Down
6 changes: 0 additions & 6 deletions src/Rx.KitchenSink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,12 +241,6 @@ observableProto.scan = scan;
import share from './operators/share';
observableProto.share = share;

import shareBehavior from './operators/shareBehavior';
observableProto.shareBehavior = shareBehavior;

import shareReplay from './operators/shareReplay';
observableProto.shareReplay = shareReplay;

import single from './operators/single';
observableProto.single = single;

Expand Down
6 changes: 0 additions & 6 deletions src/Rx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,12 +207,6 @@ observableProto.scan = scan;
import share from './operators/share';
observableProto.share = share;

import shareBehavior from './operators/shareBehavior';
observableProto.shareBehavior = shareBehavior;

import shareReplay from './operators/shareReplay';
observableProto.shareReplay = shareReplay;

import single from './operators/single';
observableProto.single = single;

Expand Down
7 changes: 0 additions & 7 deletions src/operators/shareBehavior.ts

This file was deleted.

8 changes: 0 additions & 8 deletions src/operators/shareReplay.ts

This file was deleted.

0 comments on commit 8b8d0e5

Please sign in to comment.