Fork me on GitHub

JSLint Error Explanations

JSLint will hurt your feelings. It's time to make them better!


欢迎!

JSLint 以及其流行的另一分支, JSHint, 好像对于他们会「hurt your feelings」感到自豪。 好吧,这没有任何问题,但是如果了解一下为什么会这哥俩会「hurt feelings」,这应该是一个不错的主意。

JSLint Error Explanations 的目的是通过理解一些由JSLint和JSHint产生的「神秘」问题来帮助我们提高JavaScript水平,当然,还有如何预防此类错误。

这个站点仍然在不断更新中,因此并不是所有的JSLint或者JSHint的错误消息都在此列出。代码托管于GitHub,这里是英文原版的托管地址 如果你想要帮助我翻译、改善这个站点,可以发送邮件给我或者在GitHub上提出issues或者pull request。


JSLint ADsafe Error Messages

Search
  • JSLint ADsafe ADsafe violation: '{a}'

    JSLint (prior to version 2013-03-18) will throw the "ADsafe violation: '{a}'" error in a number of situations, but only when the adsafe option is set to true (it's false by...

  • JSLint ADsafe ADsafe autocomplete violation

    JSLint (prior to version 2013-03-18) throws the "ADsafe autocomplete violation" error when the adsafe and fragment options are both set to true (they're false by default) and you pass it...

  • JSLint ADsafe ADSAFE violation: bad id

    JSLint (prior to version 2013-03-18) throws the "ADSAFE violation: bad id" error when the adsafe and fragment options are set to true (they're false by default) and you pass it...

  • JSLint ADsafe ADsafe violation: Wrap the widget in a div

    JSLint (prior to version 2013-03-18) throws the "ADsafe violation: Wrap the widget in a div" error when the adsafe and fragment options are set to true (they're false by default)...

Sorry, but we couldn't find any JSLint ADsafe errors that match your search.

Tip: if your search contains variable or function identifiers from your own code, try removing them. All of our article titles are generic and use placeholders instead of the identifiers that JSLint will actually include in your error message.