# HG changeset patch # User hamidouk # Date 1320332619 -3600 # Node ID d471599e1b2ccb49486c35919dca9f9d907e10d9 # Parent 5fc357f62af1d778ffc670b5a972b9e7cf2f054a fixed inheritance bug in the mockups. diff -r 5fc357f62af1 -r d471599e1b2c unittests/mockSerializer.js --- a/unittests/mockSerializer.js Thu Nov 03 15:02:48 2011 +0100 +++ b/unittests/mockSerializer.js Thu Nov 03 16:03:39 2011 +0100 @@ -4,6 +4,7 @@ IriSP.MockSerializer = function(DataLoader, url) { IriSP.Serializer.call(this, DataLoader, url); + this._data = IriSP.MockSerializer.prototype._data; }; IriSP.MockSerializer.prototype = new IriSP.Serializer(); diff -r 5fc357f62af1 -r d471599e1b2c unittests/mockTweetSerializer.js --- a/unittests/mockTweetSerializer.js Thu Nov 03 15:02:48 2011 +0100 +++ b/unittests/mockTweetSerializer.js Thu Nov 03 16:03:39 2011 +0100 @@ -4,6 +4,7 @@ IriSP.MockTweetSerializer = function(DataLoader, url) { IriSP.Serializer.call(this, DataLoader, url); + this._data = IriSP.MockTweetSerializer.prototype._data; }; IriSP.MockTweetSerializer.prototype = new IriSP.Serializer();