1. 程式人生 > >沙箱外掛模板

沙箱外掛模板

(function(window, undefined) {
  "use strict"
  var _global;
  var wxUtils = {
     
  }
  var wxpay = function(){

  }
  // 暴露給全域性物件
  _global = (function(){ return this || (0, eval)('this'); }());
  if (typeof module !== "undefined" && module.exports) {
      module.exports = wxUtils;
  }
else if (typeof define === "function" && define.amd) { define(function(){return wxUtils;}); } else { !('wxUtils' in _global) && (_global.wxUtils = wxUtils); } })(window);