Simon: use objects instead of arrays in serialize.js

This commit is contained in:
aurimasv 2012-04-27 00:15:57 -05:00
parent 3742736363
commit b0923f64a3

View file

@ -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 = {};