jdjm
Version:
金融移动端 - jm
27 lines (24 loc) • 628 B
JavaScript
/**
* @Author: Created By McChen
* @Date: 2016/5/25
* @Mail: chenjiahao@jd.com
* @Version: V1.0.0
*/
;(function (jm) {
for(i in jm){
if(typeof (jm[i]) == "object"){
for(j in jm[i]){
if(typeof (window[j])=="undefined"){
window[j] = jm[i][j];
}
}
}
}
if (typeof define == "function" && seajs != undefined) {
define(function (require, exports, module) {
module.exports = jm;
})
} else {
window.jm == "undefined" && (window.jm = jm);
}
})(window.jm);