mirror of
https://github.com/CryptKeeperZK/ejs.git
synced 2026-01-09 07:27:56 -05:00
add remove function to cache
This commit is contained in:
@@ -158,6 +158,9 @@ exports.cache = {
|
||||
get: function (key) {
|
||||
return this._data[key];
|
||||
},
|
||||
remove: function (key) {
|
||||
delete this._data[key];
|
||||
},
|
||||
reset: function () {
|
||||
this._data = {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user