diff -r fa614dc66b0b -r 002a16ff171b src/js/data.js --- a/src/js/data.js Wed Apr 11 17:06:11 2012 +0200 +++ b/src/js/data.js Thu Apr 12 18:41:11 2012 +0200 @@ -76,7 +76,7 @@ }; IriSP.Serializer.prototype.sync = function(callback) { - this._DataLoader.get(this._url, callback, force_refresh); + callback.call(this, this._data); }; IriSP.SerializerFactory = function(DataLoader) { @@ -87,7 +87,6 @@ /* This function returns serializer set-up with the correct configuration - takes a metadata struct describing the metadata source */ - if (metadataOptions === undefined) /* return an empty serializer */ return IriSP.Serializer("", "");