You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Blake McBride <bl...@gmail.com> on 2022/08/19 20:45:53 UTC
JavaScript global global symbols
Greetings,
I have a large web app that has many JavaScript files. Some of those files
are classes that define global utility functions that I use everywhere.
NetBeans doesn't recognize those global symbols because things are loaded
in a complex way. NetBeans wants me to declare the global symbols in each
JavaScript file in the form:
/* global mysymbol */
Rather than declaring those symbols global in hundreds of JavaScript files,
can't I just do those declarations in one place?
Thanks!
Blake McBride