-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
I see a lot of global variables that could easily collide with other variables. For example, v$, tempDevice, typeProject, etc.
Suggest tighter encapsulation so that these don't leak to the global scope. Getters and setters can be used as necessary to control visibility and whether or not they should/can be changed.
For v$ and other utility methods and objects, I'd suggest moving to a module system (like CommonJS, AMD, etc) so that they don't need to exist globally.