From 776724d71e28532f426fb4d9fa1c879ebc0d8b68 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Mon, 20 Jun 2011 03:38:43 +0000 Subject: [PATCH] Use Avram's object comparison code to compare items, rather than relying upon equality of the serialized JSON --- .../tools/testTranslators/translatorTester.js | 103 +++++++++++++++++- 1 file changed, 97 insertions(+), 6 deletions(-) diff --git a/chrome/content/zotero/tools/testTranslators/translatorTester.js b/chrome/content/zotero/tools/testTranslators/translatorTester.js index 197062fe8..10767cea6 100644 --- a/chrome/content/zotero/tools/testTranslators/translatorTester.js +++ b/chrome/content/zotero/tools/testTranslators/translatorTester.js @@ -83,7 +83,7 @@ Zotero_TranslatorTester._sanitizeItem = function(item) { // remove cyclic references if(item.attachments && item.attachments.length) { for (var i=0; i