diff options
author | Mike Sherov <mike.sherov@gmail.com> | 2012-06-07 11:24:35 -0400 |
---|---|---|
committer | Rick Waldron <waldron.rick@gmail.com> | 2012-06-07 11:24:35 -0400 |
commit | c68ab270fa8269d8b1f3360fc8ed290ba6f0e9a8 (patch) | |
tree | 5e4aa2216b3c00199cc8557612331849eefbc5e4 /README.md | |
parent | c80bc227280e9708dc9c3613ece9397f55f382ed (diff) | |
download | jquery-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.md | 31 |
1 files changed, 31 insertions, 0 deletions
@@ -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 -------------------------------------- |