From e6be909842df820f2b3d9bffecb29b3b454d64ca Mon Sep 17 00:00:00 2001 From: Nimrodxx Date: Tue, 24 Jun 2014 10:16:46 +0200 Subject: [PATCH 1/2] Update jquerymobile.d.ts Added missing fields to the ParsedPath interface. --- jquerymobile/jquerymobile.d.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/jquerymobile/jquerymobile.d.ts b/jquerymobile/jquerymobile.d.ts index ebcaac48f..f07c73fc3 100644 --- a/jquerymobile/jquerymobile.d.ts +++ b/jquerymobile/jquerymobile.d.ts @@ -335,17 +335,25 @@ interface JQueryMobilePath { } interface ParsedPath { + authority: string; + directory: string; + domain: string; + doubleSlash: string; + filename: string; hash: string; host: string; hostname: string; href: string; + hrefNoHash: string; + hrefNoSearch: string; + password: string; pathname: string; port: string; protocol: string; search: string; + username: string; } - interface JQueryMobile extends JQueryMobileOptions { version: string; From ebe628cec1abd826cff65511de33c64fa97d1325 Mon Sep 17 00:00:00 2001 From: Nimrodxx Date: Tue, 24 Jun 2014 10:27:12 +0200 Subject: [PATCH 2/2] Update jquery.d.ts Added the state method to the JQueryPromise interface. --- jquery/jquery.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/jquery/jquery.d.ts b/jquery/jquery.d.ts index f17e166b0..c8fef3f80 100644 --- a/jquery/jquery.d.ts +++ b/jquery/jquery.d.ts @@ -355,6 +355,11 @@ interface JQueryPromise { */ progress(...progressCallbacks: any[]): JQueryPromise; + /** + * Determine the current state of a Deferred object. + */ + state(): string; + // Deprecated - given no typings pipe(doneFilter?: (x: any) => any, failFilter?: (x: any) => any, progressFilter?: (x: any) => any): JQueryPromise;