• Jérome Perrin's avatar
    monaco_editor: allow inclusion of external js · 0bfc33fd
    Jérome Perrin authored
    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
    0bfc33fd
monaco_editor_support.zpt 9.09 KB