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:38:48 -0400
commitcecb52ff5c5c5c6a030b6520dc1e39ec4c6df3d9 (patch)
tree07a6ac4e076f88f4d868a953c9d69a4e784e4d1b /README.md
parent7877c4fa73120bc6d21a5fcd302a896f03b23876 (diff)
downloadjquery-cecb52ff5c5c5c6a030b6520dc1e39ec4c6df3d9.tar.gz
jquery-cecb52ff5c5c5c6a030b6520dc1e39ec4c6df3d9.zip
Specify support as a dependency wherever it is used. Optimize module order to save 15 bytes.
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 382853366..93790c913 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.