You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Matthias Bläsing (Jira)" <ji...@apache.org> on 2022/05/19 18:24:00 UTC

[jira] [Resolved] (NETBEANS-4614) Javascript dynamic import shows as error in editor but executes fine in browser

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

Matthias Bläsing resolved NETBEANS-4614.
----------------------------------------
    Resolution: Duplicate

> Javascript dynamic import shows as error in editor but executes fine in browser
> -------------------------------------------------------------------------------
>
>                 Key: NETBEANS-4614
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4614
>             Project: NetBeans
>          Issue Type: Bug
>          Components: javascript - Editor
>    Affects Versions: 12.0, 12.4, 12.5
>         Environment: Windows 10
> Java 13
> Chrome Version 84.0.4147.89 (Official Build) (64-bit)
>            Reporter: Graham Smith
>            Priority: Critical
>              Labels: javascript, netbeans, netbeans-12
>
> Javascript dynamic import  shows error on "_*import*_" statement yet runs fine in Chrome browser
> Possible duplication of NETBEANS-4597 - not sure
> Documentation reference to MDN is [https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import]
> Netbeans Project properties - JavaScript - ECMAScript set to 7 and then to 6 - no effect.
>  Script source code:
>  async function importTest()
> { const \\{ WebSockets }
> = await {color:#de350b}import{color}('./app/WebSockets.js');
> }



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
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