summaryrefslogtreecommitdiffstats
path: root/o3d/samples/o3djs/util.js
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/samples/o3djs/util.js')
-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) {