aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorMike Sherov <mike.sherov@gmail.com>2012-06-07 11:24:35 -0400
committerRick Waldron <waldron.rick@gmail.com>2012-06-07 11:24:35 -0400
commitc68ab270fa8269d8b1f3360fc8ed290ba6f0e9a8 (patch)
tree5e4aa2216b3c00199cc8557612331849eefbc5e4 /README.md
parentc80bc227280e9708dc9c3613ece9397f55f382ed (diff)
downloadjquery-c68ab270fa8269d8b1f3360fc8ed290ba6f0e9a8.tar.gz
jquery-c68ab270fa8269d8b1f3360fc8ed290ba6f0e9a8.zip
Modularize offset (exclude w/ grunt build:*:*:-offset). Closes #813. Fixes #11865
Diffstat (limited to 'README.md')
-rw-r--r--README.md31
1 files changed, 31 insertions, 0 deletions
diff --git a/README.md b/README.md
index 51d40f988..1af92ee56 100644
--- a/README.md
+++ b/README.md
@@ -62,6 +62,37 @@ Then, to get a complete, minified (w/ Uglify.js), linted (w/ JSHint) version of
The built version of jQuery will be put in the `dist/` subdirectory.
+### Modules (new in 1.8)
+
+Starting in jQuery 1.8, special builds can now be created that optionally exlude or include any of the following modules:
+
+- dimensions
+- effects
+- offset
+
+
+To create a custom build, use the following special `grunt` commands:
+
+Exclude `dimensions`:
+
+#### `grunt build:*:*:-dimensions` ####
+
+Exclude `effects`:
+
+#### `grunt build:*:*:-effects` ####
+
+Exclude `offset`:
+
+#### `grunt build:*:*:-offset` ####
+
+
+Exclude **all** optional modules:
+
+#### `grunt build:*:*:-dimensions:-effects:-offset` ####
+
+
+
+
Running the Unit Tests
--------------------------------------