catvm/CatVm2/tools/vm_memory.js
Big1moster d843fcb236 dsf
2023-02-06 11:36:48 +08:00

15 lines
496 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// 框架内存管理,用于解决变量名重复问题
// 调试日志 window.catvm 把框架功能集中管理,
var catvm = {};
// 框架运行内存
catvm.memory = {
config: {print: true, proxy: true}, // 框架配置是否打印是否使用proxy
htmlelements:{}, // 所有的html节点元素存放位置
listeners:{}, // 所有事件存放位置
log:[], // 环境调用日志统一存放点
storage:{} // localStorage 全局存放点
}; // 默认关闭打印