diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2020-01-21 14:12:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-21 14:12:35 +0100 |
commit | 23d53928f383b0e7440bf4b08b7524e6af232fad (patch) | |
tree | e3d3b4b78a0e2aa53dfa3a4e4ac57296881f47b7 /README.md | |
parent | 865469f5e60f55feb28469bb0a7526dd22f04b4e (diff) | |
download | jquery-23d53928f383b0e7440bf4b08b7524e6af232fad.tar.gz jquery-23d53928f383b0e7440bf4b08b7524e6af232fad.zip |
Ajax: Deprecate AJAX event aliases, inline event/alias into deprecated
A new `src/deprecated` directory makes it possible to exclude some deprecated
APIs from a custom build when their respective "parent" module is excluded
without keeping that module outside of the `src/deprecated` directory or
the `src/deprecated.js` file.
Closes gh-4572
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -86,8 +86,7 @@ Some example modules that can be excluded are: - **deprecated**: Methods documented as deprecated but not yet removed. - **dimensions**: The `.width()` and `.height()` methods, including `inner-` and `outer-` variations. - **effects**: The `.animate()` method and its shorthands such as `.slideUp()` or `.hide("slow")`. -- **event**: The `.on()` and `.off()` methods and all event functionality. Also removes `event/alias`. -- **event/alias**: All event attaching/triggering shorthands like `.click()` or `.mouseover()`. +- **event**: The `.on()` and `.off()` methods and all event functionality. - **event/trigger**: The `.trigger()` and `.triggerHandler()` methods. Used by the **alias** module. - **offset**: The `.offset()`, `.position()`, `.offsetParent()`, `.scrollLeft()`, and `.scrollTop()` methods. - **wrap**: The `.wrap()`, `.wrapAll()`, `.wrapInner()`, and `.unwrap()` methods. @@ -143,7 +142,7 @@ grunt custom:-css Exclude a bunch of modules: ```bash -grunt custom:-ajax,-css,-deprecated,-dimensions,-effects,-event/alias,-offset,-wrap +grunt custom:-ajax/jsonp,-css,-deprecated,-dimensions,-effects,-offset,-wrap ``` There is also a special alias to generate a build with the same configuration as the official jQuery Slim build is generated: |