minor cleanup
This commit is contained in:
parent
e49fe66738
commit
11e74ccab9
@ -16,9 +16,11 @@
|
|||||||
android23 = ua.search('android [23]') !== -1,
|
android23 = ua.search('android [23]') !== -1,
|
||||||
|
|
||||||
mobile = typeof orientation !== undefined + '',
|
mobile = typeof orientation !== undefined + '',
|
||||||
msTouch = (window.navigator && window.navigator.msPointerEnabled && window.navigator.msMaxTouchPoints),
|
msTouch = window.navigator && window.navigator.msPointerEnabled &&
|
||||||
retina = (('devicePixelRatio' in window && window.devicePixelRatio > 1) ||
|
window.navigator.msMaxTouchPoints,
|
||||||
('matchMedia' in window && window.matchMedia('(min-resolution:144dpi)') && window.matchMedia('(min-resolution:144dpi)').matches)),
|
retina = ('devicePixelRatio' in window && window.devicePixelRatio > 1) ||
|
||||||
|
('matchMedia' in window && window.matchMedia('(min-resolution:144dpi)') &&
|
||||||
|
window.matchMedia('(min-resolution:144dpi)').matches),
|
||||||
|
|
||||||
doc = document.documentElement,
|
doc = document.documentElement,
|
||||||
ie3d = ie && ('transition' in doc.style),
|
ie3d = ie && ('transition' in doc.style),
|
||||||
|
Loading…
Reference in New Issue
Block a user