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