mirror of
https://github.com/xuxiaobo-bobo/boda_jsEnv.git
synced 2025-04-22 22:21:32 +08:00
13 lines
1.7 KiB
JavaScript
13 lines
1.7 KiB
JavaScript
// CSSImportRule对象
|
|
|
|
CSSImportRule = function CSSImportRule(){let arg=arguments[0];
|
|
|
|
if (arg!='bobo' && !(this instanceof CSSImportRule) ){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")};bodavm.toolsFunc.symbolProperty(this);
|
|
|
|
if (arg =='bobo'){console.log_copy('CSSImportRule 实例化对象 --->',JSON.stringify_bo(arguments,function(k,v){if (v==window){return 'window'}else{return v}}))};}
|
|
|
|
|
|
bodavm.toolsFunc.safeProto(CSSImportRule, "CSSImportRule");
|
|
|
|
CSSImportRule.prototype.__proto__=CSSRule.prototype;
|
|
|
|
CSSImportRule.__proto__=CSSRule;
|
|
|
|
bodavm.toolsFunc.defineProperty(CSSImportRule.prototype, "href", {configurable:true, enumerable:true, get:function bodefault (){return bodavm.toolsFunc.dispatch(this, CSSImportRule.prototype, "CSSImportRule", "bodefault_get", arguments)}, set:undefined},);
|
|
|
|
bodavm.toolsFunc.defineProperty(CSSImportRule.prototype, "media", {configurable:true, enumerable:true, get:function bodefault (){return bodavm.toolsFunc.dispatch(this, CSSImportRule.prototype, "CSSImportRule", "bodefault_get", arguments)}, set:function bodefault (){return bodavm.toolsFunc.dispatch(this, CSSImportRule.prototype, "CSSImportRule", "bodefault_set", arguments)}},);
|
|
|
|
bodavm.toolsFunc.defineProperty(CSSImportRule.prototype, "styleSheet", {configurable:true, enumerable:true, get:function bodefault (){return bodavm.toolsFunc.dispatch(this, CSSImportRule.prototype, "CSSImportRule", "bodefault_get", arguments)}, set:undefined},);
|
|
|
|
bodavm.toolsFunc.defineProperty(CSSImportRule.prototype, "layerName", {configurable:true, enumerable:true, get:function bodefault (){return bodavm.toolsFunc.dispatch(this, CSSImportRule.prototype, "CSSImportRule", "bodefault_get", arguments)}, set:undefined},);
|
|
|