xuxiaobo-bobo fdfd6d6cf1 '0421'
2023-04-21 12:28:19 +08:00

12 lines
1.8 KiB
JavaScript

// CacheStorage对象
bodavm.memory.globalobj['CacheStorage'] = function CacheStorage(){this._boisinit=bodavm.config.isinit;return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['CacheStorage'], "CacheStorage");
bodavm.toolsFunc.defineProperty('CacheStorage', "delete", {configurable:true, enumerable:true, writable:true, value:function (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CacheStorage'].prototype, "CacheStorage", "delete", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('CacheStorage', "has", {configurable:true, enumerable:true, writable:true, value:function has (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CacheStorage'].prototype, "CacheStorage", "has", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('CacheStorage', "keys", {configurable:true, enumerable:true, writable:true, value:function keys (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CacheStorage'].prototype, "CacheStorage", "keys", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('CacheStorage', "match", {configurable:true, enumerable:true, writable:true, value:function match (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CacheStorage'].prototype, "CacheStorage", "match", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('CacheStorage', "open", {configurable:true, enumerable:true, writable:true, value:function open (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CacheStorage'].prototype, "CacheStorage", "open", arguments)}},'prototype');
bodavm.memory.globalobj[ 'caches'] = { _boisinit:bodavm.config.isinit}
bodavm.memory.globalobj[ 'caches'].__proto__=bodavm.memory.globalobj['CacheStorage'].prototype;