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

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -