mozilla/talkilla — pull request #35 by dmose (2013-04-11 16:36:14+00:00)
Title: Turns on the "latedef" switch for jshint to prevent time-wasting bugs.

http://www.jshint.com/docs/ has details and a link with a great deal more info. I spoke to Anton (jshint maintainer), and he said that the only reason it's not on by default is for backwards compatibility.

This PR also includes a fix for one instance of this problem in tree.