techbubble/subwayMap — pull request #1 by clemens-tolboom (2013-04-21 10:49:28+00:00)
Title: Some jshint fixes + using jquery-1.9.0

Added semicolons.
Upgrade to jquery-1.9.0.
Define var node more explicit.
Removed double ; and trailing ,

jshint reports a lot issues but I only fixed the trivial ones.

```
# jshint.before.txt
jquery.subwayMap-0.5.0.js: line 41, col 45, Unreachable 'break' after 'return'.
jquery.subwayMap-0.5.0.js: line 42, col 49, Unreachable 'break' after 'return'.
jquery.subwayMap-0.5.0.js: line 73, col 33, Missing radix parameter.
jquery.subwayMap-0.5.0.js: line 79, col 39, Missing radix parameter.
jquery.subwayMap-0.5.0.js: line 85, col 35, Missing radix parameter.
jquery.subwayMap-0.5.0.js: line 91, col 43, Missing radix parameter.
jquery.subwayMap-0.5.0.js: line 144, col 64, Missing radix parameter.
jquery.subwayMap-0.5.0.js: line 145, col 64, Missing radix parameter.
jquery.subwayMap-0.5.0.js: line 167, col 32, Use '===' to compare with 'undefined'.
jquery.subwayMap-0.5.0.js: line 170, col 36, Use '===' to compare with 'undefined'.
jquery.subwayMap-0.5.0.js: line 178, col 32, Use '!==' to compare with 'undefined'.
jquery.subwayMap-0.5.0.js: line 196, col 84, Use '!==' to compare with ''.
jquery.subwayMap-0.5.0.js: line 200, col 54, Use '!==' to compare with ''.
jquery.subwayMap-0.5.0.js: line 219, col 49, Use '!==' to compare with '0'.
jquery.subwayMap-0.5.0.js: line 230, col 32, Use '===' to compare with '0'.
jquery.subwayMap-0.5.0.js: line 232, col 32, Use '===' to compare with '0'.
jquery.subwayMap-0.5.0.js: line 241, col 28, Use '===' to compare with '0'.
jquery.subwayMap-0.5.0.js: line 241, col 44, Use '===' to compare with '0'.
jquery.subwayMap-0.5.0.js: line 247, col 44, Use '!==' to compare with ''.
jquery.subwayMap-0.5.0.js: line 280, col 63, Missing semicolon.
jquery.subwayMap-0.5.0.js: line 300, col 23, 'node' is already defined.
jquery.subwayMap-0.5.0.js: line 308, col 24, Use '===' to compare with ''.
jquery.subwayMap-0.5.0.js: line 309, col 25, Use '===' to compare with ''.
jquery.subwayMap-0.5.0.js: line 333, col 37, Use '===' to compare with ''.
jquery.subwayMap-0.5.0.js: line 338, col 70, Missing radix parameter.
jquery.subwayMap-0.5.0.js: line 404, col 32, Use '!==' to compare with ''.
jquery.subwayMap-0.5.0.js: line 404, col 100, Use '===' to compare with ''.
jquery.subwayMap-0.5.0.js: line 404, col 223, Use '!==' to compare with ''.
jquery.subwayMap-0.5.0.js: line 405, col 23, Use '!==' to compare with ''.
jquery.subwayMap-0.5.0.js: line 408, col 102, Unnecessary semicolon.
jquery.subwayMap-0.5.0.js: line 448, col 2, Missing semicolon.
jquery.subwayMap-0.5.0.js: line 459, col 37, Bad line breaking before '?'.
jquery.subwayMap-0.5.0.js: line 472, col 6, Extra comma. (it breaks older versions of IE)
```