Skip to content

Commit 6115db8

Browse files
committed
attempting to keep line lengths semi-sane in the support tests
1 parent 389af52 commit 6115db8

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

js/jquery.mobile.support.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,20 +152,28 @@ $.mobile.browser.oldIE = (function() {
152152

153153

154154
$.extend( $.support, {
155-
cssTransitions: "WebKitTransitionEvent" in window || validStyle( 'transition', 'height 100ms linear', [ "Webkit", "Moz", "" ] ) && !$.mobile.browser.oldIE && !opera,
155+
cssTransitions: "WebKitTransitionEvent" in window ||
156+
validStyle( 'transition', 'height 100ms linear', [ "Webkit", "Moz", "" ] ) &&
157+
!$.mobile.browser.oldIE && !opera,
158+
156159
// Note, Chrome for iOS has an extremely quirky implementation of popstate.
157160
// We've chosen to take the shortest path to a bug fix here for issue #5426
158161
// See the following link for information about the regex chosen
159162
// https://developers.google.com/chrome/mobile/docs/user-agent#chrome_for_ios_user-agent
160163
pushState: "pushState" in history &&
161164
"replaceState" in history &&
162165
( window.navigator.userAgent.search(/CriOS/) === -1 ),
166+
163167
mediaquery: $.mobile.media( "only all" ),
164168
cssPseudoElement: !!propExists( "content" ),
165169
touchOverflow: !!propExists( "overflowScrolling" ),
166170
cssTransform3d: transform3dTest(),
167171
boxShadow: !!propExists( "boxShadow" ) && !bb,
168-
scrollTop: ( "pageXOffset" in window || "scrollTop" in document.documentElement || "scrollTop" in fakeBody[ 0 ] ) && !webos && !operamini,
172+
173+
scrollTop: ("pageXOffset" in window ||
174+
"scrollTop" in document.documentElement ||
175+
"scrollTop" in fakeBody[ 0 ]) && !webos && !operamini,
176+
169177
dynamicBaseTag: baseTagTest(),
170178
cssPointerEvents: cssPointerEventsTest(),
171179
boundingRect: boundingRect()

0 commit comments

Comments
 (0)