|
|
@ -5,12 +5,15 @@ import {_defineVarProperties} from "@/core/constant/writable.var"; |
|
|
|
|
|
|
|
|
|
|
|
_global.BI = _global.BI || {}; |
|
|
|
_global.BI = _global.BI || {}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// for fr, 已经有的就不对外暴露了.
|
|
|
|
|
|
|
|
// 要知道BI只有`BI.$`, 挂在全局对象上的只是为了兼容而已
|
|
|
|
|
|
|
|
if (!_global.$ && !_global.jQuery) { |
|
|
|
|
|
|
|
_global.jQuery = _global.$ = fuiExport.$; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Object.assign(_global, { |
|
|
|
Object.assign(_global, { |
|
|
|
Fix: fuiExport.Fix, |
|
|
|
Fix: fuiExport.Fix, |
|
|
|
_: fuiExport._, |
|
|
|
_: fuiExport._, |
|
|
|
$: fuiExport.$, |
|
|
|
|
|
|
|
jQuery: fuiExport.$, |
|
|
|
|
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
Object.assign(_global.BI, fuiExport, injectFn); |
|
|
|
Object.assign(_global.BI, fuiExport, injectFn); |
|
|
|