forked from fanruan/fineui
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.
22 lines
434 B
22 lines
434 B
8 years ago
|
/**
|
||
|
* Created by richie on 15/7/8.
|
||
|
*/
|
||
|
/**
|
||
|
* 初始化BI对象
|
||
|
*/
|
||
5 years ago
|
_global = undefined;
|
||
7 years ago
|
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.BI == null) {
|
||
7 years ago
|
_global.BI = {prepares: []};
|
||
7 years ago
|
}
|
||
|
if(_global.BI.prepares == null) {
|
||
7 years ago
|
_global.BI.prepares = [];
|
||
8 years ago
|
}
|