commit b0923f64a34b94275d2291c6266ca8af882b7cae
parent 37427363634cd0c0abdab0d36be7a1239e37c2a9
Author: aurimasv <aurimas.dev@gmail.com>
Date: Fri, 27 Apr 2012 00:15:57 -0500
Simon: use objects instead of arrays in serialize.js
Diffstat:
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
@@ -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 = {};