rbrito/tunesviewer — Issue #26: Fix use of global variables in the Javascript code
Author: rbrito
Created: 2012-02-08 01:49:34+00:00
State: open
Labels: Bug, Code enhancement

The Javascript code, while submitted to http://jslint.com, gets a report about many variables being used before being declared.

Some of those may be masking real bugs, while the intentional ones should have accompanying comments stating which global variable the coding is using/where it comes from, so that an unadvised person may end up declaring them as function/local variables and break the code in subtle ways.