@ray-js/rjs-for-wechat
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -18,2 +18,6 @@ function query(selector, m, ctx) { | ||
this._ctx = ctx; | ||
this.callMethod = function (fnName, fnArgs) { | ||
const fn = ctx[fnName]; | ||
typeof fn === 'function' && fn.call(ctx, fnArgs); | ||
}; | ||
} | ||
@@ -20,0 +24,0 @@ fn.prototype = Object.create(args); |
{ | ||
"name": "@ray-js/rjs-for-wechat", | ||
"main": "index.js", | ||
"version": "0.0.2" | ||
"version": "0.0.3" | ||
} |
1511
44