"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/core/Browser.js" between
Leaflet-1.8.0.tar.gz and Leaflet-1.9.0.tar.gz

About: Leaflet is a JavaScript library for mobile-friendly interactive maps.

Browser.js  (Leaflet-1.8.0):Browser.js  (Leaflet-1.9.0)
skipping to change at line 172 skipping to change at line 172
var shape = div.firstChild; var shape = div.firstChild;
shape.style.behavior = 'url(#default#VML)'; shape.style.behavior = 'url(#default#VML)';
return shape && (typeof shape.adj === 'object'); return shape && (typeof shape.adj === 'object');
} catch (e) { } catch (e) {
return false; return false;
} }
}()); }());
// @property mac: Boolean; `true` when the browser is running in a Mac platform
var mac = navigator.platform.indexOf('Mac') === 0;
// @property mac: Boolean; `true` when the browser is running in a Linux platfor
m
var linux = navigator.platform.indexOf('Linux') === 0;
function userAgentContains(str) { function userAgentContains(str) {
return navigator.userAgent.toLowerCase().indexOf(str) >= 0; return navigator.userAgent.toLowerCase().indexOf(str) >= 0;
} }
export default { export default {
ie: ie, ie: ie,
ielt9: ielt9, ielt9: ielt9,
edge: edge, edge: edge,
webkit: webkit, webkit: webkit,
android: android, android: android,
skipping to change at line 209 skipping to change at line 215
pointer: pointer, pointer: pointer,
touch: touch, touch: touch,
touchNative: touchNative, touchNative: touchNative,
mobileOpera: mobileOpera, mobileOpera: mobileOpera,
mobileGecko: mobileGecko, mobileGecko: mobileGecko,
retina: retina, retina: retina,
passiveEvents: passiveEvents, passiveEvents: passiveEvents,
canvas: canvas, canvas: canvas,
svg: svg, svg: svg,
vml: vml, vml: vml,
inlineSvg: inlineSvg inlineSvg: inlineSvg,
mac: mac,
linux: linux
}; };
 End of changes. 2 change blocks. 
1 lines changed or deleted 10 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)