mirror of
https://github.com/xuxiaobo-bobo/boda_jsEnv.git
synced 2025-04-23 08:29:24 +08:00
5 lines
553 B
JavaScript
5 lines
553 B
JavaScript
// XPathExpression对象
|
|
bodavm.memory.globalobj['XPathExpression'] = function XPathExpression(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
|
|
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['XPathExpression'], "XPathExpression");
|
|
bodavm.toolsFunc.defineProperty('XPathExpression', "evaluate", {configurable:true, enumerable:true, writable:true, value:function evaluate (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['XPathExpression'].prototype, "XPathExpression", "evaluate", arguments)}},'prototype');
|