You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
572 B
18 lines
572 B
(function (global) {
|
|
var factory = {},
|
|
startCache = null,
|
|
startCacheFn = function startCacheFn(startFn) {
|
|
startFn && startFn(startCache);
|
|
};
|
|
factory.start = function (startFn) {
|
|
typeof startCache == 'function' ? startCacheFn(startFn) : requirejs(['vue', 'iview', 'layer'], function (Vue, iView, layer) {
|
|
Vue.use(iView);
|
|
window.iView = iView;
|
|
(startCache = Vue) && startCacheFn(startFn);
|
|
});
|
|
};
|
|
|
|
global.mpFrame = factory;
|
|
})(this);
|
|
|
|
//# sourceMappingURL=mpFrame-compiled.js.map
|