File tree 1 file changed +0
-25
lines changed 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -153,31 +153,6 @@ $.extend( $.mobile, {
153
153
$ . mobile . activeClickedLink = null ;
154
154
} ,
155
155
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
-
181
156
enhanceable : function ( elements ) {
182
157
return this . haveParents ( elements , "enhance" ) ;
183
158
} ,
You can’t perform that action at this time.
0 commit comments