I'd like to disable Eclipse's Javascript validation on certain folders, namely the asset folder populated by Yii. I've tried to add validation filters to exclude the folder by doing the following in Eclipse
However, that doesn't seem to work. Eclipse still marks several jquery files in error. Any insights to this? Thanks in advance!
The Client-Side JavaScript Validator only validates client-side JavaScript, i.e. the stuff in web pages. What you want to do is put jQuery into a folder you designate as a Library folder rather than a Source folder (Libraries don't get validated by the JavaScript Validator builder [you'll see it on the project's Properties dialog's Builder page]). If you need to, you can exclude a subfolder of your Source folder in your project's JavaScript Include Path to carve out a spot for a Library folder.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With