File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -153,31 +153,6 @@ $.extend( $.mobile, {
153153 $ . mobile . activeClickedLink = null ;
154154 } ,
155155
156- // DEPRECATED in 1.4
157- // Find the closest parent with a theme class on it. Note that
158- // we are not using $.fn.closest() on purpose here because this
159- // method gets called quite a bit and we need it to be as fast
160- // as possible.
161- getInheritedTheme : function ( el , defaultTheme ) {
162- var e = el [ 0 ] ,
163- ltr = "" ,
164- re = / u i - ( b a r | b o d y | o v e r l a y ) - ( [ a - z ] ) \b / ,
165- c , m ;
166- while ( e ) {
167- c = e . className || "" ;
168- if ( c && ( m = re . exec ( c ) ) && ( ltr = m [ 2 ] ) ) {
169- // We found a parent with a theme class
170- // on it so bail from this loop.
171- break ;
172- }
173-
174- e = e . parentNode ;
175- }
176- // Return the theme letter we found, if none, return the
177- // specified default.
178- return ltr || defaultTheme || "a" ;
179- } ,
180-
181156 enhanceable : function ( elements ) {
182157 return this . haveParents ( elements , "enhance" ) ;
183158 } ,
You can’t perform that action at this time.
0 commit comments