unittests/mockSerializer.js
branchpopcorn-port
changeset 182 5fc357f62af1
parent 157 73bce42a3ed3
child 183 d471599e1b2c
--- a/unittests/mockSerializer.js	Thu Nov 03 15:01:23 2011 +0100
+++ b/unittests/mockSerializer.js	Thu Nov 03 15:02:48 2011 +0100
@@ -4,7 +4,6 @@
 
 IriSP.MockSerializer = function(DataLoader, url) {
   IriSP.Serializer.call(this, DataLoader, url);
-  this._data = _data;
 };
 
 IriSP.MockSerializer.prototype = new IriSP.Serializer();   
@@ -19,7 +18,7 @@
 IriSP.MockSerializer.prototype.searchAnnotations = IriSP.JSONSerializer.prototype.searchAnnotations;
 IriSP.MockSerializer.prototype.searchOccurences = IriSP.JSONSerializer.prototype.searchOccurences;
 
-var _data = { "tags": [
+IriSP.MockSerializer.prototype._data = { "tags": [
       {
           "meta": {
             "dc:contributor": "IRI ",