unittests/mockSerializer.js
branchpopcorn-port
changeset 183 d471599e1b2c
parent 182 5fc357f62af1
child 323 3cb8b5017080
equal deleted inserted replaced
182:5fc357f62af1 183:d471599e1b2c
     2    because the stub data is huge an we don't want to ship it with the rest
     2    because the stub data is huge an we don't want to ship it with the rest
     3    of the app */
     3    of the app */
     4 
     4 
     5 IriSP.MockSerializer = function(DataLoader, url) {
     5 IriSP.MockSerializer = function(DataLoader, url) {
     6   IriSP.Serializer.call(this, DataLoader, url);
     6   IriSP.Serializer.call(this, DataLoader, url);
       
     7   this._data = IriSP.MockSerializer.prototype._data;
     7 };
     8 };
     8 
     9 
     9 IriSP.MockSerializer.prototype = new IriSP.Serializer();   
    10 IriSP.MockSerializer.prototype = new IriSP.Serializer();   
    10 
    11 
    11 IriSP.MockSerializer.prototype.currentMedia = function() {
    12 IriSP.MockSerializer.prototype.currentMedia = function() {