How do I make it so that Dreamweaver CS6 doesn't give me a syntax error when I use let
instead of var
?
To attach scripts to your page, from within your defined site, go to Insert > HTML > Script and browse to the correct . js file.
To add JavaScript code, click in either the head or body section of a page and then choose Insert→HTML→Script Objects→Script. In the Script window that appears, from the Type menu, choose “none” if you're working on an HTML5 page or “text/javascript” for XHTML or HTML 4 pages.
Add jQuery effectsIn the Design or Code view of your Dreamweaver document, select the element to which you want to apply a jQuery effect. Select Windows > Behaviors to open the Behaviors panel. Click the Plus icon, click Effects, and then click the required effect.
Ok, just go to: Edit > Preferences > Linting then Edit the JS file.
add this property:
"esversion" : 6
This helped me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With