stereobooster/jshintrb — pull request #4 by pirj (2012-08-29 14:22:38+00:00)
Title: Support passing predefined globals

For now, we can:

Jshintrb.lint("foo();", :defaults, [:foo]) # good
Jshintrb.lint("foo();", :defaults) # 'foo' is not defined.