Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

Update to modern JavaScript standards

New Here ,
Aug 14, 2022 Aug 14, 2022

The number of things being shown as erroneous in DW is increasing to a point where it's not as usable as other platforms (for example, Atom, which isn't my favorite for anything other than JS).

Specific items that are not being correctly parsed include things like async function (gives an 'unexpected token function' error) and fetch (also an 'unexpected token' error), along with a lot of the functionality for things like URLSearchParams (gives an 'undefined function' error kinda randomly).

All the code from these things runs perfectly in every browser I can test (except IE8 and Opera Mini, neither of which are up to modern standards).

Anyway, I'm hoping there is an update to that stuff for 2023, which is standards-based and can be seen on MDN and similar standards-based sites.

TOPICS
Browser , Code , Error , Product issue
97
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 16, 2022 Aug 16, 2022
LATEST

AFAIK, Dreamweaver supports the latest ECMAscript.

https://helpx.adobe.com/dreamweaver/using/whats-new.html

 

Maybe the code Linter is getting in your way.   You can edit JS Lint from Manage Sites Panel (see screenshot).

 

image.pngexpand image

Or you can disable Code Linting from your Preferences Panel.

 

image.pngexpand image

 

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines