www

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

commit dde9901c726c564de6f7ac3372742debba46c961
parent da4e7dd4f165d5cd52156d0367ea032e203544f4
Author: Simon Kornblith <simon@simonster.com>
Date:   Thu, 13 Jun 2013 14:37:51 -0400

Anchor regex

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

diff --git a/chrome/content/zotero/xpcom/translation/translator.js b/chrome/content/zotero/xpcom/translation/translator.js @@ -63,7 +63,7 @@ Zotero.Translators = new function() { while(contents.hasMoreElements()) { var file = contents.getNext().QueryInterface(Components.interfaces.nsIFile); var leafName = file.leafName; - if(!(/[^.].*\.js/.test(leafName))) continue; + if(!(/^[^.].*\.js$/.test(leafName))) continue; var lastModifiedTime = file.lastModifiedTime; var dbCacheEntry = false;