[
https://issues.apache.org/jira/browse/NETBEANS-5201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17402444#comment-17402444
]
Junichi Yamamoto commented on NETBEANS-5201:
--------------------------------------------
[~jtulach] Can we update the graal-js-parser.jar although I'm not sure whether
problems occur?
> 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: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists