adding initial fast-api

This commit is contained in:
2020-02-17 02:37:02 +00:00
commit 584d6bcc26
1975 changed files with 424591 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
define([
"../core",
"../selector"
], function( jQuery ) {
jQuery.expr.filters.hidden = function( elem ) {
// Support: Opera <= 12.12
// Opera reports offsetWidths and offsetHeights less than zero on some elements
return elem.offsetWidth <= 0 && elem.offsetHeight <= 0;
};
jQuery.expr.filters.visible = function( elem ) {
return !jQuery.expr.filters.hidden( elem );
};
});