2012-03-09 03:24:51 -05:00
|
|
|
// OSRM browser detection
|
|
|
|
|
|
|
|
|
|
|
|
(function() {
|
|
|
|
var useragent = navigator.userAgent;
|
|
|
|
|
|
|
|
OSRM.Browser = {
|
|
|
|
FF3: useragent.search(/Firefox\/3/),
|
2012-03-13 09:15:07 -04:00
|
|
|
IE6_9: useragent.search(/MSIE (6|7|8|9)/),
|
2012-03-09 03:24:51 -05:00
|
|
|
};
|
|
|
|
}());
|
|
|
|
|
|
|
|
// (runs anonymous function to prevent local variables cluttering global namespace)
|