- **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.
define([
"../core",
- "../ajax"
+ "../ajax",
+ "../support"
], function( jQuery ) {
var xhrCallbacks, xhrSupported,
"../core",
"../var/rnotwhite",
"../var/strundefined",
- "../selector"
+ "../selector",
+ "../support"
], function( jQuery, rnotwhite, strundefined ) {
var nodeHook, boolHook,
define([
- "../core"
+ "../core",
+ "../support"
], function( jQuery ) {
var rfocusable = /^(?:input|select|textarea|button|object)$/i,
define([
- "../core"
+ "../core",
+ "../support"
], function( jQuery ) {
var rreturn = /\r/g;
"./css/var/isHidden",
"./css/defaultDisplay",
"./core/swap",
- "./selector" // contains
+ "./selector", // contains
+ "./support"
], function( jQuery, pnum, cssExpand, isHidden, defaultDisplay ) {
var getStyles, curCSS,
define([
"./core",
"./selector",
+ "./traversing",
"./callbacks",
"./deferred",
"./core/ready",
- "./traversing",
+ "./support",
"./data",
"./queue",
"./queue/delay",
"./effects/animated-selector",
"./offset",
"./dimensions",
- "./support",
"./deprecated"
], function( jQuery ) {
"./data/accepts",
"./selector",
"./traversing",
- "./event"
+ "./event",
+ "./support"
], function( jQuery, concat, push, deletedIds, rcheckableType ){
function createSafeFragment( document ) {
"./core",
"./var/strundefined",
"./css",
- "./selector"
+ "./selector" // contains
], function( jQuery, strundefined ) {
var docElem = window.document.documentElement;
offsetParent: function() {
return this.map(function() {
var offsetParent = this.offsetParent || docElem;
- while ( offsetParent && ( !jQuery.nodeName( offsetParent, "html" ) && jQuery.css( offsetParent, "position") === "static" ) ) {
+
+ while ( offsetParent && ( !jQuery.nodeName( offsetParent, "html" ) && jQuery.css( offsetParent, "position" ) === "static" ) ) {
offsetParent = offsetParent.offsetParent;
}
return offsetParent || docElem;
define([
"./core",
"./var/strundefined",
- "./core/swap"
+ "./core/swap",
+ // This is listed as a dependency for build order, but it's still optional in builds
+ "./core/ready"
], function( jQuery, strundefined ) {
jQuery.support = (function( support ) {