/** * Return an event type array for a jQuery object. * * Credit to http://stackoverflow.com/users/511795/shanimal */ // Return an arry of 'scroll' events attached to 'window' $._data($(window).get(0), "events").scroll