mirror of
https://github.com/jquery/jquery.git
synced 2026-02-01 16:24:57 -05:00
Docs: Rename 1.x to compat
This commit is contained in:
@@ -94,7 +94,7 @@ Some example modules that can be excluded are:
|
||||
- **exports/global**: Exclude the attachment of global jQuery variables ($ and jQuery) to the window.
|
||||
- **exports/amd**: Exclude the AMD definition.
|
||||
|
||||
Removing sizzle is not supported on the 1.x branch.
|
||||
Removing Sizzle is not supported on the `compat` branch.
|
||||
|
||||
The build process shows a message for each dependent module it excludes or includes.
|
||||
|
||||
|
||||
@@ -160,7 +160,7 @@ module.exports = function( grunt ) {
|
||||
if ( exclude ) {
|
||||
// Can't exclude sizzle on this branch
|
||||
if ( module === "sizzle" ) {
|
||||
grunt.log.error( "Sizzle cannot be excluded on the 1.x branch." );
|
||||
grunt.log.error( "Sizzle cannot be excluded on the compat branch." );
|
||||
|
||||
// Can't exclude certain modules
|
||||
} else if ( minimum.indexOf( module ) === -1 ) {
|
||||
|
||||
Reference in New Issue
Block a user