UNPKG

491 BJavaScriptView Raw
1/*
2 whenx v0.1.0
3 https://github.com/cdll/whenx
4 Released under the MIT License.
5*/(function(){const a=function(){let a={};for(let c in wx)"function"==typeof wx[c]&&(a[c]=a=>b.call(this,c,a));return a}();var b=a,c={default:b,__moduleExports:b};var d=(a,b={})=>new Promise((c,d)=>{wx[a](Object.assign(b,{success:a=>c(a),fail:a=>d(a),complete:b.complete}))});let e=c;e.whenx=c,e.thenx={default:d,__moduleExports:d},e.version="0.1.0",module.exports=e})();
6//# sourceMappingURL=whenx.min.js.map