DreamWeaver Unaware of Previously Declared Global Variables in JS
Hello,
I have a website we're building that has to use one PHP file to declare and set the values of some global JS variables. Then in anotehr JS file we have to take actions based on the values in those global variables. However, in DreamWeaver the JS file is full of false-positive error messages for "undeclared variable" with regard to all those global JS variables ( that were declared and given values in the previous PHP file ).
Of course, everything works properly when we test our logic in a web browser. But it's now hard to debug this long JS file, because we have to constantly hover over, see and then disregard 90% of the error lines - as they are false positive - in order to finally arrive at and fix any REAL errors when we add or update the logic.
Does anybody know a way around this? Making DreamWeaver properly aware of previously declared global variables between multiple files?
Thank You
