MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / userAgentContains

Function userAgentContains

libs/leaflet/leaflet-src.js:2095–2097  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

2093 var linux = navigator.platform.indexOf('Linux') === 0;
2094
2095 function userAgentContains(str) {
2096 return navigator.userAgent.toLowerCase().indexOf(str) >= 0;
2097 }
2098
2099
2100 var Browser = {

Callers 1

leaflet-src.jsFile · 0.85

Calls 1

indexOfMethod · 0.80

Tested by

no test coverage detected