Skip to content

JS: Convert rendering to use HLine instead of SDoc

Josh Meredith requested to merge wip/js-hline into master


This MR changes the JavaScript code rendering of rts.js and out.js to use the newer HLine system.

Additionally, a flag (-ddisable-js-minifier) is added which sets the code rendering back to use SDocs:

  • The SDoc rendering is improved from previously, which used layLeft for code size. Now, because we only use SDocs for debug rendering, the code is readably intended
  • The HLine and SDoc rendering only differs by whitespace - controlled by the JsRender class.
Edited by Josh Meredith

Merge request reports