You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Quintin Siebers (Jira)" <ji...@apache.org> on 2021/08/20 16:24:00 UTC

[jira] [Updated] (NETBEANS-5201) Valid JS treated as invalid by editor

     [ 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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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