Initial OpenECOMP policy/engine commit
[policy/engine.git] / ecomp-sdk-app / src / main / webapp / app / policyApp / libs / bower_components / jquery / src / css / hiddenVisibleSelectors.js
1 define([
2         "../core",
3         "../selector"
4 ], function( jQuery ) {
5
6 jQuery.expr.filters.hidden = function( elem ) {
7         // Support: Opera <= 12.12
8         // Opera reports offsetWidths and offsetHeights less than zero on some elements
9         return elem.offsetWidth <= 0 && elem.offsetHeight <= 0;
10 };
11 jQuery.expr.filters.visible = function( elem ) {
12         return !jQuery.expr.filters.hidden( elem );
13 };
14
15 });