mirror of
https://github.com/xuxiaobo-bobo/boda_jsEnv.git
synced 2025-04-22 23:44:23 +08:00
8 lines
1.2 KiB
JavaScript
8 lines
1.2 KiB
JavaScript
// HTMLLegendElement对象
|
|
bodavm.memory.globalobj['HTMLLegendElement'] = function HTMLLegendElement(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
|
|
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['HTMLLegendElement'], "HTMLLegendElement");
|
|
bodavm.memory.globalobj['HTMLLegendElement'].prototype.__proto__=bodavm.memory.globalobj['HTMLElement'].prototype;
|
|
bodavm.memory.globalobj['HTMLLegendElement'].__proto__=bodavm.memory.globalobj['HTMLElement'];
|
|
bodavm.toolsFunc.defineProperty('HTMLLegendElement', "form", {configurable:true, enumerable:true, get:function form (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['HTMLLegendElement'].prototype, "HTMLLegendElement", "form_get", arguments)}, set:undefined},'prototype');
|
|
bodavm.toolsFunc.defineProperty('HTMLLegendElement', "align", {configurable:true, enumerable:true, get:function align (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['HTMLLegendElement'].prototype, "HTMLLegendElement", "align_get", arguments)}, set:function align (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['HTMLLegendElement'].prototype, "HTMLLegendElement", "align_set", arguments)}},'prototype');
|