Skip to main content
Participant
August 15, 2022
Question

Update to modern JavaScript standards

  • August 15, 2022
  • 1 reply
  • 122 views

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.

This topic has been closed for replies.

1 reply

Nancy OShea
Community Expert
Community Expert
August 17, 2022

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

 

Or you can disable Code Linting from your Preferences Panel.

 

 

Nancy O'Shea— Product User & Community Expert