jasper reports - Require.js javascript file format -
i trying load js file through require having structure following.
though loading , working expected, want ask whether file format right loaded 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);
Comments
Post a Comment