aboutsummaryrefslogtreecommitdiffstats
path: root/src/jquery.js
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2020-05-05 14:16:41 +0200
committerGitHub <noreply@github.com>2020-05-05 14:16:41 +0200
commit297d18dd13f7b810ea5a4afeefa4cb15d9e16e16 (patch)
tree97dd7fa487c54bb884401a7214754217e4387b53 /src/jquery.js
parent3d62d5704989f17d3a20ae7521d52e9c8c60b4ee (diff)
downloadjquery-297d18dd13f7b810ea5a4afeefa4cb15d9e16e16.tar.gz
jquery-297d18dd13f7b810ea5a4afeefa4cb15d9e16e16.zip
CSS: Include `show`, `hide` & `toggle` methods in the jQuery slim build
The `show()`, `hide()` & `toggle()` methods were included in the 3.x jQuery slim build. The jQuery master build accidentally started to exclude them as they were only imported in the effects module and the new Rollup-based build system follows the module dependency graph when excluding modules. To resolve the issue, import the `css/showHide.js` file directly in the main `jquery.js` file. Closes gh-4704 Ref jquery/jquery-migrate#346
Diffstat (limited to 'src/jquery.js')
-rw-r--r--src/jquery.js1
1 files changed, 1 insertions, 0 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";