add a clearCache method to the record manager

This commit is contained in:
Dan Mills 2009-02-19 04:06:08 -08:00
parent 9a6bb0d0f4
commit 68eee4397e

View File

@ -209,6 +209,10 @@ RecordManager.prototype = {
return false;
},
clearCache: function recordMgr_clearCache() {
this._records = {};
},
del: function RegordMgr_del(url) {
delete this._records[url];
},