aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorTimmy Willison <timmywillisn@gmail.com>2013-08-15 20:38:48 -0400
committerTimmy Willison <timmywillisn@gmail.com>2013-08-15 20:41:43 -0400
commit73158618131bd3b67e0a152000754c0d39b2519e (patch)
tree1d12a46bf45d3ac533d8be2a47add461b33bb24d /README.md
parentf5b1a8eab7a32ebfcaaa5069dcdaa9f67f42a341 (diff)
downloadjquery-73158618131bd3b67e0a152000754c0d39b2519e.tar.gz
jquery-73158618131bd3b67e0a152000754c0d39b2519e.zip
Specify support as a dependency wherever it is used. Optimize module order to save 15 bytes.
Conflicts: src/css.js src/manipulation.js src/offset.js src/support.js
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 1ce0b0d8b..65cb95d7f 100644
--- a/README.md
+++ b/README.md
@@ -86,7 +86,7 @@ Some example modules that can be excluded are:
- **offset**: The `.offset()`, `.position()`, `.offsetParent()`, `.scrollLeft()`, and `.scrollTop()` methods.
- **wrap**: The `.wrap()`, `.wrapAll()`, `.wrapInner()`, and `.unwrap()` methods.
- **exports/amd**: Exclude the AMD definition.
-- **core/ready**: Exclude the ready module if you place your scripts at the end of the body. Any ready callbacks will simply be called immediately.
+- **core/ready**: Exclude the ready module if you place your scripts at the end of the body. Any ready callbacks bound with `jQuery()` will simply be called immediately. However, `jQuery(document).ready()` will not be a function and `.on("ready", ...)` or similar will not be triggered.
- **deferred**: Exclude jQuery.Deferred. This also removes jQuery.Callbacks. *Note* that modules that depend on jQuery.Deferred(AJAX, effects, core/ready) will not be removed and will still expect jQuery.Deferred to be there. Include your own jQuery.Deferred implementation or exclude those modules as well (`grunt custom:-deferred,-ajax,-effects,-core/ready`).
- **support**: Excluding the support module is not recommended, but possible. It's your responsibility to either remove modules that use jQuery.support (many of them) or replace the values wherever jQuery.support is used. This is mainly only useful when building a barebones version of jQuery.