ajaxorg/cloud9 — pull request #2382 by lennartcl (2012-10-31 12:02:21+00:00)
Title: Check JSHint state before calling data()

This addresses the exception of https://github.com/ajaxorg/cloud9/pull/2363 and makes the JSHint interface more robust. It doesn't address the root cause of that issue, though, which appears to be that the language worker is called with an empty document. But this fix should be applied anyway to avoid the exception in other scenarios.

@ajaxorg/liskov