double quotes to single
This commit is contained in:
parent
f237c3e174
commit
6dd0dea1aa
@ -5,23 +5,20 @@
|
|||||||
(function () {
|
(function () {
|
||||||
|
|
||||||
var ie = !!window.ActiveXObject,
|
var ie = !!window.ActiveXObject,
|
||||||
// http://tanalin.com/en/articles/ie-version-js/
|
|
||||||
ie6 = ie && !window.XMLHttpRequest,
|
ie6 = ie && !window.XMLHttpRequest,
|
||||||
ie7 = ie && !document.querySelector,
|
ie7 = ie && !document.querySelector,
|
||||||
|
|
||||||
// terrible browser detection to work around Safari / iOS / Android browser bugs
|
// terrible browser detection to work around Safari / iOS / Android browser bugs
|
||||||
// see TileLayer._addTile and debug/hacks/jitter.html
|
|
||||||
|
|
||||||
ua = navigator.userAgent.toLowerCase(),
|
ua = navigator.userAgent.toLowerCase(),
|
||||||
webkit = ua.indexOf("webkit") !== -1,
|
webkit = ua.indexOf('webkit') !== -1,
|
||||||
chrome = ua.indexOf("chrome") !== -1,
|
chrome = ua.indexOf('chrome') !== -1,
|
||||||
android = ua.indexOf("android") !== -1,
|
android = ua.indexOf('android') !== -1,
|
||||||
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 && window.navigator.msMaxTouchPoints),
|
||||||
retina = (('devicePixelRatio' in window && window.devicePixelRatio > 1) ||
|
retina = (('devicePixelRatio' in window && window.devicePixelRatio > 1) ||
|
||||||
('matchMedia' in window && window.matchMedia("(min-resolution:144dpi)") && window.matchMedia("(min-resolution:144dpi)").matches)),
|
('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