jshint/jshint — pull request #1293 by 2is10 (2013-10-04 00:36:41+00:00)
Title: latedef check should ignore inner functions when set to "nofunc"

This patch suppresses this warning when the `latedef` option is set to `"nofunc"`:
> Inner functions should be listed at the top of the outer function.

Here’s some sample code that currently triggers this warning when `latedef` is `"nofunc"` or `true`:
```
function foo() {
bar();
function bar() {
console.log('bar');
}
}
```