mirror of
https://github.com/xuxiaobo-bobo/boda_jsEnv.git
synced 2025-04-22 23:44:23 +08:00
8 lines
1.3 KiB
JavaScript
8 lines
1.3 KiB
JavaScript
// HTMLLIElement对象
|
|
bodavm.memory.globalobj['HTMLLIElement'] = function HTMLLIElement(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
|
|
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['HTMLLIElement'], "HTMLLIElement");
|
|
bodavm.memory.globalobj['HTMLLIElement'].prototype.__proto__=bodavm.memory.globalobj['HTMLElement'].prototype;
|
|
bodavm.memory.globalobj['HTMLLIElement'].__proto__=bodavm.memory.globalobj['HTMLElement'];
|
|
bodavm.toolsFunc.defineProperty('HTMLLIElement', "value", {configurable:true, enumerable:true, get:function value (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['HTMLLIElement'].prototype, "HTMLLIElement", "value_get", arguments)}, set:function value (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['HTMLLIElement'].prototype, "HTMLLIElement", "value_set", arguments)}},'prototype');
|
|
bodavm.toolsFunc.defineProperty('HTMLLIElement', "type", {configurable:true, enumerable:true, get:function type (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['HTMLLIElement'].prototype, "HTMLLIElement", "type_get", arguments)}, set:function type (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['HTMLLIElement'].prototype, "HTMLLIElement", "type_set", arguments)}},'prototype');
|