我正在尝试通过require具有如下结构来加载js文件。
虽然它正在加载并按预期工作,但我想询问文件格式是否适合加载require?
!function(global){
//js content
}(this)
visualize.__jrsConfigs__["userLocale"] = "en";
visualize.__jrsConfigs__["avaliableLocales"] = ["de", "en", "es", "fr", "it", "ja", "ro", "zh_TW", "zh_CN"];
if (typeof define === "function" && define.amd) {
define(["reporting"], function () {
return visualize;
});
}
var currentThemePath = "_themes/AEFCB57D/theme.css".split("/").slice(0, -1);