pa7/heatmap.js — pull request #15 by konieczkow (2012-01-19 21:24:17+00:00)
Title: Parsed file with jshint and fixed warnings.

Used to be 25 now only 4.

From this:
heatmap.js: line 31, col 10, Missing semicolon.
heatmap.js: line 31, col 10, Expected an identifier and instead saw ','.
heatmap.js: line 31, col 10, Expected an assignment or function call and instead saw an expression.
heatmap.js: line 31, col 11, Missing semicolon.
heatmap.js: line 35, col 6, Unnecessary semicolon.
heatmap.js: line 95, col 51, Missing semicolon.
heatmap.js: line 160, col 10, Missing semicolon.
heatmap.js: line 160, col 10, Expected an identifier and instead saw ','.
heatmap.js: line 160, col 10, Expected an assignment or function call and instead saw an expression.
heatmap.js: line 160, col 11, Missing semicolon.
heatmap.js: line 168, col 6, Unnecessary semicolon.
heatmap.js: line 178, col 36, 'rin' used out of scope.
heatmap.js: line 178, col 46, Missing semicolon.
heatmap.js: line 178, col 46, Expected an identifier and instead saw ','.
heatmap.js: line 178, col 46, Expected an assignment or function call and instead saw an expression.
heatmap.js: line 178, col 47, Missing semicolon.
heatmap.js: line 179, col 37, 'rout' used out of scope.
heatmap.js: line 179, col 48, Missing semicolon.
heatmap.js: line 179, col 48, Expected an identifier and instead saw ','.
heatmap.js: line 179, col 48, Expected an assignment or function call and instead saw an expression.
heatmap.js: line 179, col 49, Missing semicolon.
heatmap.js: line 242, col 26, Variables should not be deleted.
heatmap.js: line 243, col 24, Variables should not be deleted.
heatmap.js: line 244, col 23, Variables should not be deleted.
heatmap.js: line 364, col 22, Variables should not be deleted.

25 errors

To this:
src/heatmap.js: line 243, col 26, Variables should not be deleted.
src/heatmap.js: line 244, col 24, Variables should not be deleted.
src/heatmap.js: line 245, col 23, Variables should not be deleted.
src/heatmap.js: line 365, col 22, Variables should not be deleted.

4 errors

I'm not sure if i can delete those "delete" statements, so i left them by now.