From 82d3293b4c8ad64bb58a1d95d570473910e8c2d8 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Mon, 20 Feb 2012 03:03:32 -0500 Subject: [PATCH] Minor refactoring --- .../tools/testTranslators/testTranslators.js | 42 ++++++++++++------- 1 file changed, 28 insertions(+), 14 deletions(-) diff --git a/chrome/content/zotero/tools/testTranslators/testTranslators.js b/chrome/content/zotero/tools/testTranslators/testTranslators.js index f78491b1c..cb79dd6b4 100644 --- a/chrome/content/zotero/tools/testTranslators/testTranslators.js +++ b/chrome/content/zotero/tools/testTranslators/testTranslators.js @@ -324,13 +324,7 @@ function init() { var type = translatorType; return function(e) { e.preventDefault(); - for(var i in translatorTestViewsToRun[type]) { - var testView = translatorTestViewsToRun[type][i]; - testView.updateStatus(testView._translatorTester, "pending"); - } - for(var i=0; i