diff -r ad1ffe0c0955 -r 7fd843e0dc4e test/model/test.html --- a/test/model/test.html Thu Apr 12 15:54:33 2012 +0200 +++ b/test/model/test.html Fri Apr 13 18:08:19 2012 +0200 @@ -15,10 +15,24 @@ IriSP.jQuery = jQuery; IriSP._ = _; var _directory = new IriSP.Model.Directory(); - var _source = _directory.source("../integration/polemic_fr.json", "ns", "ns", IriSP.serializers.platform); + var _source = _directory.remoteSource({ + url: "../integration/polemic_fr.json", + namespace: "metadataplayer", + serializer: IriSP.serializers.platform + }); + function showExport() { + console.log(_source.serialize()); + $("body").html(JSON.stringify(_source.serialize()).replace(/(\[|\{)/g,'$1$1').replace(/,/g,',
  • ')) + } + -

    + Export Json