mirror of
https://github.com/xuxiaobo-bobo/boda_jsEnv.git
synced 2025-04-22 23:44:23 +08:00
6 lines
786 B
JavaScript
6 lines
786 B
JavaScript
// CSSRuleList对象
|
|
bodavm.memory.globalobj['CSSRuleList'] = function CSSRuleList(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
|
|
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['CSSRuleList'], "CSSRuleList");
|
|
bodavm.toolsFunc.defineProperty('CSSRuleList', "length", {configurable:true, enumerable:true, get:function length (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CSSRuleList'].prototype, "CSSRuleList", "length_get", arguments)}, set:undefined},'prototype');
|
|
bodavm.toolsFunc.defineProperty('CSSRuleList', "item", {configurable:true, enumerable:true, writable:true, value:function item (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['CSSRuleList'].prototype, "CSSRuleList", "item", arguments)}},'prototype');
|