[ 
https://issues.apache.org/jira/browse/NETBEANS-5201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Quintin Siebers updated NETBEANS-5201:
--------------------------------------
    Attachment: Screenshot 2021-08-20 at 18.23.22.png

> Valid JS treated as invalid by editor
> -------------------------------------
>
>                 Key: NETBEANS-5201
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-5201
>             Project: NetBeans
>          Issue Type: Bug
>          Components: javascript - Editor
>    Affects Versions: 12.1, 12.2
>            Reporter: Marek Gremblewski
>            Priority: Major
>         Attachments: Screenshot 2021-08-20 at 18.23.22.png, 
> image-2020-12-31-17-20-30-117.png
>
>
> !image-2020-12-31-17-20-30-117.png!
> Below is code snipped:
> {code:java}
> var fn = function () {
>     var actions = new DSsysLibActionIndex.lib.ActionIndex();
>     actions.registerAction('asyncModalUpdateModelList', function (modal, 
> params) {
>         import('./actions/asyncModalUpdateModelList.js').then(function 
> (Module) {
>             var action = new Module.AsyncModalUpdateModelListAction(modal, 
> params);
>             action.run();
>         });
>     });
>     actions.registerAction('asyncModalUpdateAuthorityList', function (modal, 
> params) {
>         import('./actions/asyncModalUpdateAuthorityList.js').then(function 
> (Module) {
>             var action = new 
> Module.AsyncModalUpdateAuthorityListAction(modal, params);
>             action.run();
>         });
>     });
> };
> {code}
> What is more interesting error appears only on the very first occurrence.
> Next occurrence is treated as valid.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to