From b0923f64a34b94275d2291c6266ca8af882b7cae Mon Sep 17 00:00:00 2001 From: aurimasv Date: Fri, 27 Apr 2012 00:15:57 -0500 Subject: [PATCH] Simon: use objects instead of arrays in serialize.js --- chrome/content/zotero/xpcom/rdf/serialize.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/xpcom/rdf/serialize.js b/chrome/content/zotero/xpcom/rdf/serialize.js index bc506c6887..c8953b943d 100644 --- a/chrome/content/zotero/xpcom/rdf/serialize.js +++ b/chrome/content/zotero/xpcom/rdf/serialize.js @@ -111,8 +111,8 @@ __Serializer.prototype.makeUpPrefix = function(uri) { // - do stuff about the docu first and then (or first) about its primary topic. __Serializer.prototype.rootSubjects = function(sts) { - var incoming = []; - var subjects = []; + var incoming = {}; + var subjects = {}; var sz = this; var allBnodes = {};