Response title
This is preview!
We've all done something like this:
And wondered why the code wasn't working only to find out the selector was wrong. jQuery.whiny.js attempts to solve this problem by altering the jQuery library so the jQuery() method will create a console warning if an empty jQuery object returned.
In the above example, if '#id' returned an empty jQuery object you'd see the following console warning:
Note: This is strictly for dev purposes! It is simply a development tool.
© 2013 jQuery Foundation
Sponsored by and others.