aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/jquery.js1
-rw-r--r--test/unit/css.js5
2 files changed, 1 insertions, 5 deletions
diff --git a/src/jquery.js b/src/jquery.js
index 3a27fe3ff..d9fd61afa 100644
--- a/src/jquery.js
+++ b/src/jquery.js
@@ -16,6 +16,7 @@ import "./manipulation/_evalUrl.js";
import "./wrap.js";
import "./css.js";
import "./css/hiddenVisibleSelectors.js";
+import "./css/showHide.js";
import "./serialize.js";
import "./ajax.js";
import "./ajax/xhr.js";
diff --git a/test/unit/css.js b/test/unit/css.js
index 54a9a2fcc..095f3641b 100644
--- a/test/unit/css.js
+++ b/test/unit/css.js
@@ -487,9 +487,6 @@ QUnit.test( "css(Object) where values are Functions with incoming values", funct
jQuery( "#cssFunctionTest" ).remove();
} );
-// .show(), .hide(), can be excluded from the build
-if ( jQuery.fn.show && jQuery.fn.hide ) {
-
QUnit.test( "show()", function( assert ) {
assert.expect( 18 );
@@ -968,8 +965,6 @@ QUnit.test( "show/hide 3.0, inline hidden", function( assert ) {
} );
} );
-}
-
QUnit[ QUnit.jQuerySelectors && jQuery.fn.toggle ? "test" : "skip" ]( "toggle()", function( assert ) {
assert.expect( 9 );
var div, oldHide,