📄 cache.js
字号:
var Buffalo.Cache = {
}
Buffalo.CacheElement = Class.create();
Buffalo.CacheElement.prototype = {
initialize:function(name) {
this.name = name;
this.createTime = new Date();
this.lastAccess = new Date();
}
idleTime : function() {
return (new Date()) - this.lastAccess;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -