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