( element )
| 175 | |
| 176 | // selectors |
| 177 | function visible( element ) { |
| 178 | return !$( element ).parents().andSelf().filter(function() { |
| 179 | return $.curCSS( this, "visibility" ) === "hidden" || |
| 180 | $.expr.filters.hidden( this ); |
| 181 | }).length; |
| 182 | } |
| 183 | |
| 184 | $.extend( $.expr[ ":" ], { |
| 185 | data: function( elem, i, match ) { |