se-report
Version:
report js error to your log-server
20 lines (17 loc) • 405 B
JavaScript
/**
* @desc 上报模块入口文件
* @author kangxufeng <kangxufeng@duiba.com.cn>
* @date 2018-01-14
*/
var SE_REPORT = (function(global) {
if (global.SE_REPORT) return global.SE_REPORT;
var report = global.SE_REPORT = {
init: function(config) {
console.log(config);
}
};
return report;
}(window));
if (typeof module !== "undefined") {
module.exports = SE_REPORT;
}