mirror of
https://github.com/xuxiaobo-bobo/boda_jsEnv.git
synced 2025-04-22 23:44:23 +08:00
7 lines
873 B
JavaScript
7 lines
873 B
JavaScript
// HTMLBRElement对象
|
|
bodavm.memory.globalobj['HTMLBRElement'] = function HTMLBRElement(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
|
|
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['HTMLBRElement'], "HTMLBRElement");
|
|
bodavm.memory.globalobj['HTMLBRElement'].prototype.__proto__=bodavm.memory.globalobj['HTMLElement'].prototype;
|
|
bodavm.memory.globalobj['HTMLBRElement'].__proto__=bodavm.memory.globalobj['HTMLElement'];
|
|
bodavm.toolsFunc.defineProperty('HTMLBRElement', "clear", {configurable:true, enumerable:true, get:function clear (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['HTMLBRElement'].prototype, "HTMLBRElement", "clear_get", arguments)}, set:function clear (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['HTMLBRElement'].prototype, "HTMLBRElement", "clear_set", arguments)}},'prototype');
|