Merge pull request #445 from Diullei/master

resolved conflicts to pullrequest #387
This commit is contained in:
Diullei Gomes
2013-03-31 08:16:31 -07:00
2 changed files with 2 additions and 8 deletions

3
jquery/jquery.d.ts vendored
View File

@@ -89,6 +89,7 @@ interface JQueryPromise {
state(): string;
pipe(doneFilter?: (x: any) => any, failFilter?: (x: any) => any, progressFilter?: (x: any) => any): JQueryPromise;
then(doneCallbacks: any, failCallbacks?: any, progressCallbacks?: any): JQueryPromise;
promise(target?): JQueryPromise;
}
/*
@@ -97,8 +98,6 @@ interface JQueryPromise {
interface JQueryDeferred extends JQueryPromise {
notify(...args: any[]): JQueryDeferred;
notifyWith(context: any, ...args: any[]): JQueryDeferred;
promise(target? ): JQueryPromise;
reject(...args: any[]): JQueryDeferred;
rejectWith(context:any, ...args: any[]): JQueryDeferred;
resolve(...args: any[]): JQueryDeferred;

View File

@@ -67,12 +67,7 @@ interface KnockoutComputedStatic {
(options?: any): KnockoutComputed;
}
interface KnockoutComputed extends KnockoutComputedFunctions {
(): any;
(value: any): void;
subscribe(callback: (newValue: any) => void, target?:any, topic?: string): KnockoutSubscription;
notifySubscribers(valueToWrite, topic?: string);
interface KnockoutComputed extends KnockoutObservableAny, KnockoutComputedFunctions {
}
interface KnockoutObservableArrayStatic {