-
Notifications
You must be signed in to change notification settings - Fork 1
javascript lint
Sébastien LUCAS edited this page Aug 1, 2014
·
3 revisions
- http://jsbin.com/
- http://www.jslint.com/ OK but too exigent by default
Linting mean verifying syntax against best pratice
[L95:C18] W041: Use '===' to compare with '0'.
if (indexCur == 0 || !$scope.filteredBricks[indexCur]) return;
[L265:C20] W033: Missing semicolon.
var params = {}
- Line 89: Use '===' to compare with '0'.
- Line 145: Use '===' to compare with 'undefined'.
- Line 153: Use '===' to compare with 'undefined'.
- Line 161: Use '===' to compare with 'true'.