mirror of
https://github.com/xuxiaobo-bobo/boda_jsEnv.git
synced 2025-04-22 18:26:01 +08:00
8 lines
1.1 KiB
JavaScript
8 lines
1.1 KiB
JavaScript
// SVGSymbolElement对象
|
|
bodavm.memory.globalobj['SVGSymbolElement'] = function SVGSymbolElement(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
|
|
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['SVGSymbolElement'], "SVGSymbolElement");
|
|
bodavm.memory.globalobj['SVGSymbolElement'].prototype.__proto__=bodavm.memory.globalobj['SVGElement'].prototype;
|
|
bodavm.memory.globalobj['SVGSymbolElement'].__proto__=bodavm.memory.globalobj['SVGElement'];
|
|
bodavm.toolsFunc.defineProperty('SVGSymbolElement', "viewBox", {configurable:true, enumerable:true, get:function viewBox (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['SVGSymbolElement'].prototype, "SVGSymbolElement", "viewBox_get", arguments)}, set:undefined},'prototype');
|
|
bodavm.toolsFunc.defineProperty('SVGSymbolElement', "preserveAspectRatio", {configurable:true, enumerable:true, get:function preserveAspectRatio (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['SVGSymbolElement'].prototype, "SVGSymbolElement", "preserveAspectRatio_get", arguments)}, set:undefined},'prototype');
|