boda_jsEnv/env_xbb_lastest_bo/env/SVGAnimatedInteger.js
xuxiaobo-bobo 24cbc7a3fa '0711'
2023-07-11 15:19:33 +08:00

39 lines
1.3 KiB
JavaScript

// SVGAnimatedInteger对象
SVGAnimatedInteger = function SVGAnimatedInteger() {
let arg = arguments[0];
if (arg != 'bobo' && (this instanceof SVGAnimatedInteger)) {
return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor");
}
;
bodavm.toolsFunc.symbolProperty(this);
if (arg != 'bobo') {
console.log_copy('SVGAnimatedInteger 实例化对象 --->', JSON.stringify_bo(arguments, function (k, v) {
if (v == window) {
return 'window';
} else {
return v;
}
}));
}
;
};
bodavm.toolsFunc.safeProto(SVGAnimatedInteger, "SVGAnimatedInteger");
bodavm.toolsFunc.defineProperty(SVGAnimatedInteger.prototype, "baseVal", {
configurable: true,
enumerable: true,
get: function baseVal() {
return bodavm.toolsFunc.dispatch(this, SVGAnimatedInteger.prototype, "SVGAnimatedInteger", "baseVal_get", arguments);
},
set: function baseVal() {
return bodavm.toolsFunc.dispatch(this, SVGAnimatedInteger.prototype, "SVGAnimatedInteger", "baseVal_set", arguments);
}
});
bodavm.toolsFunc.defineProperty(SVGAnimatedInteger.prototype, "animVal", {
configurable: true,
enumerable: true,
get: function animVal() {
return bodavm.toolsFunc.dispatch(this, SVGAnimatedInteger.prototype, "SVGAnimatedInteger", "animVal_get", arguments);
},
set: undefined
});