summaryrefslogtreecommitdiffstats
path: root/o3d
diff options
context:
space:
mode:
authorkbr@chromium.org <kbr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-17 23:43:24 +0000
committerkbr@chromium.org <kbr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-17 23:43:24 +0000
commitf2adc29c77792c44b186ac7532609d806152abd6 (patch)
treef1d50308fdc78d6ba5b623e4eab99dde4ea4a6c1 /o3d
parent1fe1f8c11998eb81bc385aa781cd511247c8464d (diff)
downloadchromium_src-f2adc29c77792c44b186ac7532609d806152abd6.zip
chromium_src-f2adc29c77792c44b186ac7532609d806152abd6.tar.gz
chromium_src-f2adc29c77792c44b186ac7532609d806152abd6.tar.bz2
Fixed regression caused by http://codereview.chromium.org/599012 where
O3D plugin is not detected on Mac OS X (at least). BUG=none TEST=none (ran O3D in Safari) Review URL: http://codereview.chromium.org/631005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39299 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d')
-rw-r--r--o3d/samples/o3djs/util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/o3d/samples/o3djs/util.js b/o3d/samples/o3djs/util.js
index 2c9ad61..d67f02a 100644
--- a/o3d/samples/o3djs/util.js
+++ b/o3d/samples/o3djs/util.js
@@ -292,7 +292,7 @@ o3djs.util.getPluginVersion = function() {
}
}
if (description) {
- var re = /.*version:(\d+)\.(\d+)\.(\d+)\.(\d+).*/;
+ var re = /.*version:\s*(\d+)\.(\d+)\.(\d+)\.(\d+).*/;
// Parse the version out of the description.
var parts = re.exec(description);
if (parts && parts.length == 5) {