mirror of
https://github.com/nuintun/command-manager.git
synced 2025-06-07 11:34:05 +08:00
update files
This commit is contained in:
parent
24e6a225ec
commit
a80dd776d9
@ -71,7 +71,7 @@ LRUCache.prototype.put = function (key, value){
|
|||||||
* }
|
* }
|
||||||
*/
|
*/
|
||||||
LRUCache.prototype.shift = function (){
|
LRUCache.prototype.shift = function (){
|
||||||
// todo: handle special case when limit == 1
|
// todo: handle special case when limit === 1
|
||||||
var entry = this.head;
|
var entry = this.head;
|
||||||
|
|
||||||
if (entry) {
|
if (entry) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user