Skip to content

Tag Archives: tools

Introducing jQuery.whiny.js

11-Jul-11

We’ve all done something like this: $(‘#id’).text(‘new text’); 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’ [...]