commit e116f7a174bdc456657a9c3ea790fe8471978499 parent 3fb81ab1b93d9f5650690820b92e5a7c5726b47e Author: Simon Kornblith <simon@simonster.com> Date: Thu, 23 Feb 2012 00:07:25 -0500 Fix dumb typo Diffstat:
| M | chrome/content/zotero/tools/testTranslators/translatorTester.js | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/tools/testTranslators/translatorTester.js b/chrome/content/zotero/tools/testTranslators/translatorTester.js @@ -390,7 +390,7 @@ Zotero_TranslatorTester.prototype._createTest = function(translate, multipleMode if(multipleMode) { var items = "multiple"; } else { - for(var i=0, n=translate.newItems; i<n; i++) { + for(var i=0, n=translate.newItems.length; i<n; i++) { Zotero_TranslatorTester._sanitizeItem(translate.newItems[i], true); } var items = translate.newItems;