unittests/mockSerializer.js
branchpopcorn-port
changeset 128 f3fec80dd31c
parent 80 8d0dbb1e62c8
child 157 73bce42a3ed3
--- a/unittests/mockSerializer.js	Mon Oct 24 16:51:22 2011 +0200
+++ b/unittests/mockSerializer.js	Mon Oct 24 17:25:54 2011 +0200
@@ -1,7 +1,7 @@
 /* mock serializer, for unit testing. This file is separated from data.js
    because the stub data is huge an we don't want to ship it with the rest
    of the app */
-   
+
 IriSP.MockSerializer = function(DataLoader, url) {
   IriSP.Serializer.call(this, DataLoader, url);
 
@@ -1462,6 +1462,8 @@
 };
 };
 
+IriSP.MockSerializer.prototype = new IriSP.Serializer();   
+
 IriSP.MockSerializer.prototype.currentMedia = function() {
   return this._data.medias[0];
 };