Skip to Main Content
HCL Domino Ideas Portal

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

Status Under Consideration
Workspace Domino Designer
Categories XPages
Created by Guest
Created on Mar 23, 2021

Add a final newline when compressing js files

We have several 3rd party products in js in our XPages application. These js files do not end the last line of code with newline. Consequently, when Use runtime optimized JavaScript is selected, the first line of file b.js is attached directly to the end of the last line of file a.js, giving results like
//# sourceMappingURL=socket.io.js.mapfunction myfunction() {

which then leads to interesting error messages in the browser.

Of course one could argue that we should start every js file with some comments, but in my humble opinion the Designer/Compiler should simply add a newline when compressing files if the last line doesn't end with a newline.

  • Attach files
  • Guest
    Reply
    |
    Feb 10, 2022

    I just installed a new release of the software, and we had to "correct" once again some of the JS files we received. Please get this fixed...