mirror of
https://github.com/xuxiaobo-bobo/boda_jsEnv.git
synced 2025-04-22 18:26:01 +08:00
6 lines
790 B
JavaScript
6 lines
790 B
JavaScript
// LockManager对象
|
|
bodavm.memory.globalobj['LockManager'] = function LockManager(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
|
|
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['LockManager'], "LockManager");
|
|
bodavm.toolsFunc.defineProperty('LockManager', "query", {configurable:true, enumerable:true, writable:true, value:function query (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['LockManager'].prototype, "LockManager", "query", arguments)}},'prototype');
|
|
bodavm.toolsFunc.defineProperty('LockManager', "request", {configurable:true, enumerable:true, writable:true, value:function request (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['LockManager'].prototype, "LockManager", "request", arguments)}},'prototype');
|