jshint/jshint — pull request #566 by goatslacker (2012-06-27 03:17:06+00:00)
Title: Gh 562 3

Third one is the charm.

This allows for this kind of syntax:

/*jshint undef: true */
/*global -event */

event.hello(); // => warns! yay ^_^

Also:

JSHINT('event.hello()', { browser: true, predefs: ['-event'] }) === false; // => true! yay!

In the future this can also support

/*global [browser] */