mpFrame-compiled.js 589 B

123456789101112131415161718
  1. (function (global) {
  2. var factory = {},
  3. startCache = null,
  4. startCacheFn = function startCacheFn(startFn) {
  5. startFn && startFn(startCache);
  6. };
  7. factory.start = function (startFn) {
  8. typeof startCache == 'function' ? startCacheFn(startFn) : requirejs(['vue', 'iview', 'layer'], function (Vue, iView, layer) {
  9. Vue.use(iView);
  10. window.iView = iView;
  11. (startCache = Vue) && startCacheFn(startFn);
  12. });
  13. };
  14. global.mpFrame = factory;
  15. })(this);
  16. //# sourceMappingURL=mpFrame-compiled.js.map