      1 pockets.FakeDepot = function() {
      2   this.values = {};
      3 };
      4
      5 pockets.FakeDepot.prototype.simpleAdd = function(key, value, onSuccess) {
      6   this.values[key] = Object.toJSON(value);
      7   if (onSuccess) {
      8     onSuccess();
      9   }
     10 };
     11
     12 pockets.FakeDepot.prototype.simpleGet = function(key, onSuccess) {
     13   onSuccess(this.values[key] ? eval('(' + this.values[key] + ')') : null);  //pass null, not undefined
     14 };
     15