fineui是帆软报表和BI产品线所使用的前端框架。
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.
|
|
|
/**
|
|
|
|
* Created by richie on 15/7/8.
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* 初始化BI对象
|
|
|
|
*/
|
|
|
|
var _global = undefined;
|
|
|
|
if (typeof window !== "undefined") {
|
|
|
|
_global = window;
|
|
|
|
} else if (typeof global !== "undefined") {
|
|
|
|
_global = global;
|
|
|
|
} else if (typeof self !== "undefined") {
|
|
|
|
_global = self;
|
|
|
|
} else {
|
|
|
|
_global = this;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (_global) {
|
|
|
|
_global._global = _global;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (_global.BI == null) {
|
|
|
|
_global.BI = {prepares: []};
|
|
|
|
}
|
|
|
|
if(_global.BI.prepares == null) {
|
|
|
|
_global.BI.prepares = [];
|
|
|
|
}
|