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

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpodwysocki committed Apr 5, 2014
2 parents 096bf73 + 8fa6001 commit 73e52d0
Show file tree
Hide file tree
Showing 21 changed files with 46 additions and 27 deletions.
1 change: 1 addition & 0 deletions nuget/RxJS-Aggregates/RxJS-Aggregates.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@
<files>
<file src="..\..\rx.aggregates.js" target="content\Scripts\rx.aggregates.js" />
<file src="..\..\rx.aggregates.min.js" target="content\Scripts\rx.aggregates.min.js" />
<file src="..\..\ts\rx.aggregates.d.ts" target="content\Scripts\rx.aggregates.d.ts" />
</files>
</package>
1 change: 1 addition & 0 deletions nuget/RxJS-Async/RxJS-Async.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@
<file src="..\..\rx.async.min.js" target="content\Scripts\rx.async.min.js" />
<file src="..\..\rx.async.compat.js" target="content\Scripts\rx.async.compat.js" />
<file src="..\..\rx.async.compat.min.js" target="content\Scripts\rx.async.compat.min.js" />
<file src="..\..\ts\rx.async.d.ts" target="content\Scripts\rx.async.d.ts" />
</files>
</package>
1 change: 1 addition & 0 deletions nuget/RxJS-BackPressure/RxJS-BackPressure.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@
<files>
<file src="..\..\rx.backpressure.js" target="content\Scripts\rx.backpressure.js" />
<file src="..\..\rx.backpressure.min.js" target="content\Scripts\rx.backpressure.min.js" />
<file src="..\..\ts\rx.backpressure.d.ts" target="content\Scripts\rx.backpressure.d.ts" />
</files>
</package>
1 change: 1 addition & 0 deletions nuget/RxJS-Binding/RxJS-Binding.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@
<files>
<file src="..\..\rx.binding.js" target="content\Scripts\rx.binding.js" />
<file src="..\..\rx.binding.min.js" target="content\Scripts\rx.binding.min.js" />
<file src="..\..\ts\rx.binding.d.ts" target="content\Scripts\rx.binding.d.ts" />
</files>
</package>
1 change: 1 addition & 0 deletions nuget/RxJS-Coincidence/RxJS-Coincidence.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@
<files>
<file src="..\..\rx.coincidence.js" target="content\Scripts\rx.coincidence.js" />
<file src="..\..\rx.coincidence.min.js" target="content\Scripts\rx.coincidence.min.js" />
<file src="..\..\ts\rx.coincidence.d.ts" target="content\Scripts\rx.coincidence.d.ts" />
</files>
</package>
1 change: 1 addition & 0 deletions nuget/RxJS-Experimental/RxJS-Experimental.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@
<files>
<file src="..\..\rx.experimental.js" target="content\Scripts\rx.experimental.js" />
<file src="..\..\rx.experimental.min.js" target="content\Scripts\rx.experimental.min.js" />
<file src="..\..\ts\rx.experimental.d.ts" target="content\Scripts\rx.experimental.d.ts" />
</files>
</package>
1 change: 1 addition & 0 deletions nuget/RxJS-JoinPatterns/RxJS-JoinPatterns.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@
<files>
<file src="..\..\rx.joinpatterns.js" target="content\Scripts\rx.joinpatterns.js" />
<file src="..\..\rx.joinpatterns.min.js" target="content\Scripts\rx.joinpatterns.min.js" />
<file src="..\..\ts\rx.joinpatterns.d.ts" target="content\Scripts\rx.joinpatterns.d.ts" />
</files>
</package>
3 changes: 2 additions & 1 deletion nuget/RxJS-Lite/RxJS-Lite.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<file src="..\..\rx.lite.js" target="content\Scripts\rx.lite.js" />
<file src="..\..\rx.lite.min.js" target="content\Scripts\rx.lite.min.js" />
<file src="..\..\rx.lite.compat.js" target="content\Scripts\rx.lite.compat.js" />
<file src="..\..\rx.lite.compat.min.js" target="content\Scripts\rx.lite.compat.min.js" />
<file src="..\..\rx.lite.compat.min.js" target="content\Scripts\rx.lite.compat.min.js" />
<file src="..\..\ts\rx.lite.d.ts" target="content\Scripts\rx.lite.d.ts" />
</files>
</package>
3 changes: 2 additions & 1 deletion nuget/RxJS-Main/RxJS-Main.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<file src="..\..\rx.js" target="content\Scripts\rx.js" />
<file src="..\..\rx.min.js" target="content\Scripts\rx.min.js" />
<file src="..\..\rx.compat.js" target="content\Scripts\rx.compat.js" />
<file src="..\..\rx.compat.min.js" target="content\Scripts\rx.compat.min.js" />
<file src="..\..\rx.compat.min.js" target="content\Scripts\rx.compat.min.js" />
<file src="..\..\ts\rx.d.ts" target="content\Scripts\rx.d.ts" />
</files>
</package>
1 change: 1 addition & 0 deletions nuget/RxJS-Testing/RxJS-Testing.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@
<files>
<file src="..\..\rx.testing.js" target="content\Scripts\rx.testing.js" />
<file src="..\..\rx.testing.min.js" target="content\Scripts\rx.testing.min.js" />
<file src="..\..\ts\rx.testing.d.ts" target="content\Scripts\rx.testing.d.ts" />
</files>
</package>
1 change: 1 addition & 0 deletions nuget/RxJS-Time/RxJS-Time.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@
<files>
<file src="..\..\rx.time.js" target="content\Scripts\rx.time.js" />
<file src="..\..\rx.time.min.js" target="content\Scripts\rx.time.min.js" />
<file src="..\..\ts\rx.time.d.ts" target="content\Scripts\rx.time.d.ts" />
</files>
</package>
1 change: 1 addition & 0 deletions nuget/RxJS-VirtualTime/RxJS-VirtualTime.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@
<files>
<file src="..\..\rx.virtualtime.js" target="content\Scripts\rx.virtualtime.js" />
<file src="..\..\rx.virtualtime.min.js" target="content\Scripts\rx.virtualtime.min.js" />
<file src="..\..\ts\rx.virtualtime.d.ts" target="content\Scripts\rx.virtualtime.d.ts" />
</files>
</package>
18 changes: 18 additions & 0 deletions ts/rx-lite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,19 @@ declare module Rx {
export var Promise: { new <T>(resolver: (resolvePromise: (value: T) => void, rejectPromise: (reason: any) => void) => void): IPromise<T>; };
}

export module helpers {
function noop(): void;
function identity<T>(value: T): T;
function defaultNow(): number;
function defaultComparer(left: any, right: any): boolean;
function defaultSubComparer(left: any, right: any): number;
function defaultKeySerializer(key: any): string;
function defaultError(err: any): void;
function isPromise(p: any): boolean;
function asArray<T>(...args: T[]): T[];
function not(value: any): boolean;
}

export interface IDisposable {
dispose(): void;
}
Expand Down Expand Up @@ -307,6 +320,7 @@ declare module Rx {
create<T>(subscribe: (observer: Observer<T>) => IDisposable): Observable<T>;
createWithDisposable<T>(subscribe: (observer: Observer<T>) => IDisposable): Observable<T>;
defer<T>(observableFactory: () => Observable<T>): Observable<T>;
defer<T>(observableFactory: () => IPromise<T>): Observable<T>;
empty<T>(scheduler?: IScheduler): Observable<T>;
fromArray<T>(array: T[], scheduler?: IScheduler): Observable<T>;
fromArray<T>(array: { length: number;[index: number]: T; }, scheduler?: IScheduler): Observable<T>;
Expand Down Expand Up @@ -347,9 +361,13 @@ declare module Rx {
throwException<T>(exception: any, scheduler?: IScheduler): Observable<T>; // alias for throw

catch<T>(sources: Observable<T>[]): Observable<T>;
catch<T>(sources: IPromise<T>[]): Observable<T>;
catchException<T>(sources: Observable<T>[]): Observable<T>; // alias for catch
catchException<T>(sources: IPromise<T>[]): Observable<T>; // alias for catch
catch<T>(...sources: Observable<T>[]): Observable<T>;
catch<T>(...sources: IPromise<T>[]): Observable<T>;
catchException<T>(...sources: Observable<T>[]): Observable<T>; // alias for catch
catchException<T>(...sources: IPromise<T>[]): Observable<T>; // alias for catch
concat<T>(...sources: Observable<T>[]): Observable<T>;
concat<T>(...sources: IPromise<T>[]): Observable<T>;
concat<T>(sources: Observable<T>[]): Observable<T>;
Expand Down
2 changes: 1 addition & 1 deletion ts/rx.async.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Type definitions for RxJS-Async v2.2.17
// Type definitions for RxJS-Async v2.2.18
// Project: http://rx.codeplex.com/
// Definitions by: zoetrope <https://github.com/zoetrope>
// Definitions by: Igor Oleinikov <https://github.com/Igorbek>
Expand Down
2 changes: 1 addition & 1 deletion ts/rx.backpressure.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Type definitions for RxJS-BackPressure v2.2.15
// Type definitions for RxJS-BackPressure v2.2.18
// Project: http://rx.codeplex.com/
// Definitions by: Igor Oleinikov <https://github.com/Igorbek>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
Expand Down
2 changes: 1 addition & 1 deletion ts/rx.binding.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Type definitions for RxJS-Binding v2.2.17
// Type definitions for RxJS-Binding v2.2.18
// Project: http://rx.codeplex.com/
// Definitions by: Carl de Billy <http://carl.debilly.net/>
// Definitions by: Igor Oleinikov <https://github.com/Igorbek>
Expand Down
2 changes: 1 addition & 1 deletion ts/rx.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Type definitions for RxJS v2.2.17
// Type definitions for RxJS v2.2.18
// Project: http://rx.codeplex.com/
// Definitions by: gsino <http://www.codeplex.com/site/users/view/gsino>
// Definitions by: Igor Oleinikov <https://github.com/Igorbek>
Expand Down
12 changes: 1 addition & 11 deletions ts/rx.lite.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Type definitions for RxJS-Lite v2.2.17
// Type definitions for RxJS-Lite v2.2.18
// Project: http://rx.codeplex.com/
// Definitions by: gsino <http://www.codeplex.com/site/users/view/gsino>
// Definitions by: Igor Oleinikov <https://github.com/Igorbek>
Expand Down Expand Up @@ -47,14 +47,4 @@ declare module Rx {
export interface Observable<T> {
shareReplay(bufferSize?: number, window?: number, scheduler?: IScheduler): Observable<T>; // same as replayWhileObserved in rx.binding.d.ts
}

export interface ObservableStatic {
generateWithTime<TState, TResult>(
initialState: TState,
condition: (state: TState) => boolean,
iterate: (state: TState) => TState,
resultSelector: (state: TState) => TResult,
timeSelector: (state: TState) => number,
scheduler?: IScheduler): Observable<TResult>;
}
}
7 changes: 7 additions & 0 deletions ts/rx.time-lite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,12 @@ declare module Rx {
interval(dutTime: number, period: number, scheduler?: IScheduler): Observable<number>;
timer(dueTime: number, period: number, scheduler: IScheduler): Observable<number>;
timer(dueTime: number, scheduler: IScheduler): Observable<number>;
generateWithRelativeTime<TState, TResult>(
initialState: TState,
condition: (state: TState) => boolean,
iterate: (state: TState) => TState,
resultSelector: (state: TState) => TResult,
timeSelector: (state: TState) => number,
scheduler?: IScheduler): Observable<TResult>;
}
}
10 changes: 1 addition & 9 deletions ts/rx.time.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Type definitions for RxJS-Time v2.2.17
// Type definitions for RxJS-Time v2.2.18
// Project: http://rx.codeplex.com/
// Definitions by: Carl de Billy <http://carl.debilly.net/>
// Definitions by: Igor Oleinikov <https://github.com/Igorbek>
Expand Down Expand Up @@ -28,13 +28,5 @@ declare module Rx {
resultSelector: (state: TState) => TResult,
timeSelector: (state: TState) => Date,
scheduler?: IScheduler): Observable<TResult>;

generateWithRelativeTime<TState, TResult>(
initialState: TState,
condition: (state: TState) => boolean,
iterate: (state: TState) => TState,
resultSelector: (state: TState) => TResult,
timeSelector: (state: TState) => number,
scheduler?: IScheduler): Observable<TResult>;
}
}
2 changes: 1 addition & 1 deletion ts/rx.virtualtime.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Type definitions for RxJS-VirtualTime package 2.2
// Type definitions for RxJS-VirtualTime package 2.2.18
// Project: http://rx.codeplex.com/
// Definitions by: gsino <http://www.codeplex.com/site/users/view/gsino>
// Definitions by: Igor Oleinikov <https://github.com/Igorbek>
Expand Down

0 comments on commit 73e52d0

Please sign in to comment.