#5613 closed defect (bug) (fixed)
fix javascript to pass jshitn
Reported by: | DJPaul | Owned by: | djpaul |
---|---|---|---|
Milestone: | 2.1 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Core | Keywords: | |
Cc: |
Description
In #5160, we've recently adopted a Grunt build process. Part of that process checks for well-written Javascript using the jshint library (see the .jshintrc file in the root of trunk for its config file). It's no surprise that some of our Javascript is pretty old, and it's causing a lot of failures in jshint.
This ticket is to cover a series of commits to get jshint to pass. I will not be testing the majority of these changes due to the volume, but as we've not even formally started the 2.1 cycle, we have lots of time to capture any breakage during 2.1's development cycle and test periods.
In 8377: