Issue Description
After customizing javascript files you can re-run steps to optimize the files for the sake of performance as described here:
A customer who uses visualize.js performed the steps above but then encountered an error in the browser console: Uncaught Reference Errors It was complaining about an error within visualize.js
Resolution
If you embed via visualize.js there is an additional step to perform between steps #9 and #10 in the documentation above.
From the "Working" directory, run a command specific to visualize, passing in your own "js-optimization-output" directory in the "out" arg:
nodejsnode r.js -o js-sourcesscriptsvisualizebuild.js optimize=uglify2 out=c:Usersghudsontestjs-optimization-outputvisualizevisualize.js
This applies to JasperReports Server versions 7.5, 7.8, 7.9
Ref. Case 01935688
Recommended Comments
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now