mirror of
https://github.com/thomaspark/bootswatch.git
synced 2025-10-13 21:12:58 +00:00
move files to dist and docs
This commit is contained in:
15
docs/3/bower_components/jquery/src/css/hiddenVisibleSelectors.js
vendored
Normal file
15
docs/3/bower_components/jquery/src/css/hiddenVisibleSelectors.js
vendored
Normal 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 );
|
||||
};
|
||||
|
||||
});
|
Reference in New Issue
Block a user