[jira] [Commented] (NETBEANS-5201) Valid JS treated as invalid by editor
[ https://issues.apache.org/jira/browse/NETBEANS-5201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17402695#comment-17402695 ] Junichi Yamamoto commented on NETBEANS-5201: [~jtulach] Thank you for your reply. [~sdedic] Could you please do that when you have time, if possible? (Because I'm not familiar with the JavaScript area.) I'll help you if needed (if there is something I can do):) > 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
[jira] [Commented] (NETBEANS-5201) Valid JS treated as invalid by editor
[ https://issues.apache.org/jira/browse/NETBEANS-5201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17402605#comment-17402605 ] Jaroslav Tulach commented on NETBEANS-5201: --- Upgrading to newest version of {{graal-js-parser.jar}} would be great! Put the JAR in, run the test, fix those that are failing and we are done. CCing [~sdedic] . > 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
[jira] [Commented] (NETBEANS-5201) Valid JS treated as invalid by editor
[ https://issues.apache.org/jira/browse/NETBEANS-5201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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: 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