From 7b257564164134173c2bff733072355bcf8fe1d5 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Wed, 24 Jun 2009 22:05:34 +0000 Subject: [PATCH] use objects instead of arrays in serialize.js --- chrome/content/zotero/xpcom/rdf/serialize.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chrome/content/zotero/xpcom/rdf/serialize.js b/chrome/content/zotero/xpcom/rdf/serialize.js index 007ee03028..abec133778 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; for (var i = 0; i