www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 5bdb050b5fe791176eded9e7d8632f78e880d3a1
parent 52f47b2510b195b48a45336e4a75e1184cac2556
Author: Simon Kornblith <simon@simonster.com>
Date:   Thu,  8 Mar 2012 01:27:03 -0500

Support multiple character browsers

Diffstat:
Mchrome/content/zotero/tools/testTranslators/testTranslators.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/tools/testTranslators/testTranslators.js b/chrome/content/zotero/tools/testTranslators/testTranslators.js @@ -488,7 +488,7 @@ function init() { hashVars[myVar.substr(0, index)] = myVar.substr(index+1); } - if(hashVars["browser"] && /^[a-z]$/.test(hashVars["browser"]) + if(hashVars["browser"] && /^[a-z]+$/.test(hashVars["browser"]) && hashVars["version"] && /^[0-9a-zA-Z\-._]/.test(hashVars["version"])) { loc = "testResults-"+hashVars["browser"]+"-"+hashVars["version"]+".json"; }