File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed
Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -298,6 +298,30 @@ interface LoaderOptions {
298298 textonly ?: boolean ;
299299}
300300
301+ interface JQueryMobilePath {
302+ get ( url : string ) : string ;
303+ getDocumentBase ( asParsedObject ?: boolean ) : any ;
304+ getDocumentUrl ( asParsedObject ?: boolean ) : any ;
305+ getLocation ( ) : string ;
306+ isAbsoluteUrl ( url : string ) : boolean ;
307+ isRelativeUrl ( url : string ) : boolean ;
308+ makeUrlAbsolute ( relUrl : string , absUrl : string ) : string ;
309+ parseLocation ( ) : ParsedPath ;
310+ parseUrl ( url ) : ParsedPath ;
311+ }
312+
313+ interface ParsedPath {
314+ hash : string ;
315+ host : string ;
316+ hostname : string ;
317+ href : string ;
318+ pathname : string ;
319+ port : string ;
320+ protocol : string ;
321+ search : string ;
322+ }
323+
324+
301325interface JQueryMobile extends JQueryMobileOptions {
302326
303327 version : string ;
@@ -321,7 +345,7 @@ interface JQueryMobile extends JQueryMobileOptions {
321345
322346 touchOverflow : any ;
323347 showCategory : any ;
324- path : any ;
348+ path : JQueryMobilePath ;
325349
326350 dialog : any ;
327351 popup : any ;
You can’t perform that action at this time.
0 commit comments