aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriel Luong2013-06-03 12:22:59 (EDT)
committerMark Macdonald2013-06-03 12:49:37 (EDT)
commitacebefb29f55863e79bd5bbceaa0788e1820317b (patch)
tree80e2951b71c03381ee31dbb9c8aa356763d8605e
parentb9d25e33b3c5f45539a3d7b20a827edb05a91f7f (diff)
downloadorg.eclipse.orion.client-acebefb29f55863e79bd5bbceaa0788e1820317b.zip
org.eclipse.orion.client-acebefb29f55863e79bd5bbceaa0788e1820317b.tar.gz
org.eclipse.orion.client-acebefb29f55863e79bd5bbceaa0788e1820317b.tar.bz2
Added chromium to list of browser detection
-rw-r--r--bundles/org.eclipse.orion.client.ui/web/orion/browserCompatibility.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/browserCompatibility.js b/bundles/org.eclipse.orion.client.ui/web/orion/browserCompatibility.js
index 81ba865..140c1b2 100644
--- a/bundles/org.eclipse.orion.client.ui/web/orion/browserCompatibility.js
+++ b/bundles/org.eclipse.orion.client.ui/web/orion/browserCompatibility.js
@@ -15,7 +15,7 @@ define(function() {
var userAgent = navigator.userAgent;
var isSupported = false;
var VERSION = 1;
- var browserData = [ {name: 'Chrome', regExp: /(?:chrome|crios)\/(\d+)/i, minVersion: 24},
+ var browserData = [ {name: 'Chrome/Chromium', regExp: /(?:chrome|crios|chromium)\/(\d+)/i, minVersion: 24},
{name: 'Firefox', regExp: /firefox\/(\d+)/i, minVersion: 20},
{name: 'MSIE', regExp: /msie\s(\d+)/i, minVersion: 10},
{name: 'Safari', regExp: /version\/(\d+).*?safari/i, minVersion: 6} ];