File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 4040 path . origin = path . get ( location . protocol + '//' + location . host + location . pathname ) ;
4141 } ,
4242
43- //prefix a relative url with the current path
44- // TODO rename to reflect conditional functionality
43+ // prefix a relative url with the current path
44+ // TODO force old relative deeplinks into new absolute path
4545 makeAbsolute : function ( url ) {
4646 var isHashPath = path . isPath ( location . hash ) ;
4747
6969
7070 //return a url path with the window's location protocol/hostname/pathname removed
7171 clean : function ( url ) {
72- // Replace the protocol, host, and pathname only once at the beginning of the url to avoid
72+ // Replace the protocol host only once at the beginning of the url to avoid
7373 // problems when it's included as a part of a param
74- // Also, since all urls are absolute in IE, we need to remove the pathname as well.
7574 var leadingUrlRootRegex = new RegExp ( "^" + location . protocol + "//" + location . host ) ;
7675 return url . replace ( leadingUrlRootRegex , "" ) ;
7776 } ,
495494
496495 pageContainerClasses = [ ] ;
497496 }
498-
497+
499498 //clear page loader
500499 $ . mobile . pageLoading ( true ) ;
501-
500+
502501 if ( transition && ( transition !== 'none' ) ) {
503502 if ( $ . inArray ( transition , perspectiveTransitions ) >= 0 ) {
504503 addContainerClass ( 'ui-mobile-viewport-perspective' ) ;
You can’t perform that action at this time.
0 commit comments