jshint/jshint — pull request #2066 by foysavas (2014-12-31 17:49:04+00:00)
Title: Support generators in class body

I was getting errors about generators in ES6 classes.

This commit fixes that issue. It also adds two lines of positive tests to guard against regression.

For reference, generators in classes are in the latest ES6 draft spec and work well with 6to5.

NB: I'm resubmitting this PR as Coveralls on Travis kept looking for a nonexistent commit. Original PR was [#2059](https://github.com/jshint/jshint/pull/2059)