| Index: ext/background.js |
| diff --git a/ext/background.js b/ext/background.js |
| index 55ca943f7093a4387d7e6af13bf8fa228250f3e4..f6ce8ce075bae22f0569a1cdd741ee29646ba580 100644 |
| --- a/ext/background.js |
| +++ b/ext/background.js |
| @@ -35,20 +35,20 @@ |
| }, |
| keys: function() |
| { |
| - return Object.keys(this._map).map(ext._getPage); |
| + return Object.keys(this._map).map(ext.getPage); |
| }, |
| get: function(page) |
| { |
| - return this._map[page._id]; |
| + return this._map[page.id]; |
| }, |
| set: function(page, value) |
| { |
| - this._map[page._id] = value; |
| + this._map[page.id] = value; |
| nonEmptyPageMaps[this._id] = this; |
| }, |
| has: function(page) |
| { |
| - return page._id in this._map; |
| + return page.id in this._map; |
| }, |
| clear: function() |
| { |
| @@ -57,7 +57,7 @@ |
| }, |
| delete: function(page) |
| { |
| - this._delete(page._id); |
| + this._delete(page.id); |
| } |
| }; |