osrm-backend/WebContent/OSRM.Browser.js
DennisSchiefer 0bc3e098ac added GUI support for IE9 and IE10,
changed GUI legal text,
changed via-node deletion to click only,
moved default entries for input boxes to config file,
made input boxes selectable again
2012-03-13 14:15:07 +01:00

13 lines
291 B
JavaScript

// OSRM browser detection
(function() {
var useragent = navigator.userAgent;
OSRM.Browser = {
FF3: useragent.search(/Firefox\/3/),
IE6_9: useragent.search(/MSIE (6|7|8|9)/),
};
}());
// (runs anonymous function to prevent local variables cluttering global namespace)