xuxiaobo-bobo a27aa6f31b '0605'
2023-06-05 23:25:43 +08:00

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');