Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jquery
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏彬
jquery
Commits
8992ac86
Commit
8992ac86
authored
Mar 30, 2015
by
Michał Gołębiowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs: Rename 1.x to compat
parent
7bce5b0e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
README.md
README.md
+1
-1
build.js
build/tasks/build.js
+1
-1
No files found.
README.md
View file @
8992ac86
...
@@ -94,7 +94,7 @@ Some example modules that can be excluded are:
...
@@ -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/global**
: Exclude the attachment of global jQuery variables ($ and jQuery) to the window.
-
**exports/amd**
: Exclude the AMD definition.
-
**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.
The build process shows a message for each dependent module it excludes or includes.
...
...
build/tasks/build.js
View file @
8992ac86
...
@@ -160,7 +160,7 @@ module.exports = function( grunt ) {
...
@@ -160,7 +160,7 @@ module.exports = function( grunt ) {
if
(
exclude
)
{
if
(
exclude
)
{
// Can't exclude sizzle on this branch
// Can't exclude sizzle on this branch
if
(
module
===
"sizzle"
)
{
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
// Can't exclude certain modules
}
else
if
(
minimum
.
indexOf
(
module
)
===
-
1
)
{
}
else
if
(
minimum
.
indexOf
(
module
)
===
-
1
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment