aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorTimmy Willison <timmywillisn@gmail.com>2013-12-19 15:00:06 -0500
committerTimmy Willison <timmywillisn@gmail.com>2013-12-19 15:36:34 -0500
commit1d3b60044b730859a4f547daa3cd14c85abb5c9d (patch)
treef9d554c13857dae2d5b0961e40117c87c72de495 /README.md
parent0e89df5b6d681b219939faceffe258866c8e122e (diff)
downloadjquery-1d3b60044b730859a4f547daa3cd14c85abb5c9d.tar.gz
jquery-1d3b60044b730859a4f547daa3cd14c85abb5c9d.zip
Build: Add the ability to remove global exposure.
Ref #14016 Conflicts: build/tasks/build.js src/core.js
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index 180d22a6d..e85c802be 100644
--- a/README.md
+++ b/README.md
@@ -84,6 +84,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.
+- **exports/global**: Exclude the attachment of global jQuery variables ($ and jQuery) to the window.
- **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`).