jquery/jquery — pull request #1468 by zayani (2013-12-24 06:30:35+00:00)
Title: Added new filter (if)

This is a good way to apply conditional functions on chained jQuery selectors.

example:
//only if 'isApocalypseDone' is true, show will apply
$("#postApocalypse").data('lastUpdate',(new Date()).getTime()).if(isApocalypseDone).show()