Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/padolsey-archive/jquery.lint--old
jQuery Lint is a simple script you can download and use with jQuery. It works over the top of jQuery and diligently reports errors and any incorrect usage of jQuery.
https://github.com/padolsey-archive/jquery.lint--old
Last synced: 7 days ago
JSON representation
jQuery Lint is a simple script you can download and use with jQuery. It works over the top of jQuery and diligently reports errors and any incorrect usage of jQuery.
- Host: GitHub
- URL: https://github.com/padolsey-archive/jquery.lint--old
- Owner: padolsey-archive
- Created: 2010-01-17T15:28:40.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2013-11-11T12:09:36.000Z (about 11 years ago)
- Last Synced: 2024-08-02T16:48:35.550Z (3 months ago)
- Language: JavaScript
- Homepage: http://james.padolsey.com/javascript/jquery-lint/
- Size: 1.08 MB
- Stars: 544
- Watchers: 13
- Forks: 42
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
**THIS IS NOT IN ACTIVE DEVELOPMENT AND DOES NOT WORK ON NEW VERSIONS OF jQuery**
jQuery Lint
===
Tested in jQuery 1.4, 1.5 and 1.6 - 1.3.2 is currently not working fine---
***UPDATE*** (21-06-2010) - The code-base has been refactored, and some of the API has been deprecated -- this should only affect those of you who have extended jQuery Lint. Please download the new version as it does include bug fixes and various other improvements.---
**IMPORTANT** - If you encounter a bug, please [raise an issue](http://github.com/jamespadolsey/jQuery-Lint/issues). Likely bugs could include:* Reporting correct argument lists as incorrect.
* Nested errors as a result of other oversights - e.g. you call `css()` incorrectly which might internally make a call to another method, which may then raise an error.##Intro
*jQuery Lint* is a simple script you can download and use with jQuery. It works over the top of jQuery and diligently reports errors and any incorrect usage of jQuery. It will also, to some extent, offer guidance on best practices and performance concerns.
Include it, **after jQuery** like this:
Now, just use jQuery as you normally would. When you do something that jQuery Lint deems incorrect or a bad practice then you'll receive a warning in the console. Currently, it only works with Firebug (in Firefox). You can easily define another reporting mechanism within the script itself, but there's little reason to; the errors it reports are browser-agnostic, so you may as well do your testing in Firefox w/ Firebug.###Screenshot
![jquery.lint.js preview](http://img13.imageshack.us/img13/9527/lint.png)
**Read more about jQuery Lint in the [wiki](https://github.com/padolsey/jquery.lint--old/wiki)!**
###License* Dual licensed under the MIT and GPL licenses.
* - http://www.opensource.org/licenses/mit-license.php
* - http://www.gnu.org/copyleft/gpl.html