monaco_editor: allow inclusion of external js
By using a magic comment such as ```javascript // erp5_monaco_editor_include: ../other.js other ``` we can tell monaco editor that other.js will be loaded before the current javascript file, which helps the typescript compiler in diagnosing errors and providing completions. rsvp, renderjs and jio are still always loaded because they are used in almost all our javscripts. /reviewed-on nexedi/erp5!969
Showing
Please register or sign in to comment