unittests/mockTweetSerializer.js
branchpopcorn-port
changeset 183 d471599e1b2c
parent 182 5fc357f62af1
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.MockTweetSerializer = function(DataLoader, url) {
     5 IriSP.MockTweetSerializer = function(DataLoader, url) {
     6   IriSP.Serializer.call(this, DataLoader, url);
     6   IriSP.Serializer.call(this, DataLoader, url);
       
     7   this._data = IriSP.MockTweetSerializer.prototype._data;
     7 };
     8 };
     8 
     9 
     9 IriSP.MockTweetSerializer.prototype = new IriSP.Serializer();   
    10 IriSP.MockTweetSerializer.prototype = new IriSP.Serializer();   
    10 
    11 
    11 IriSP.MockTweetSerializer.prototype.currentMedia = function() {
    12 IriSP.MockTweetSerializer.prototype.currentMedia = function() {