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
d18b6457
Commit
d18b6457
authored
May 06, 2015
by
Timmy Willison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build: append "+compat" to tag version and jQuery.fn.jquery
Fixes gh-2269 Close gh-2270
parent
590eff63
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
release.js
build/release.js
+2
-2
core.js
src/core.js
+1
-1
No files found.
build/release.js
View file @
d18b6457
...
@@ -24,12 +24,12 @@ module.exports = function( Release ) {
...
@@ -24,12 +24,12 @@ module.exports = function( Release ) {
* The tag for compat is different
* The tag for compat is different
* This sets a different new version for the source repo,
* This sets a different new version for the source repo,
* but after building with the correct tag
* but after building with the correct tag
* e.g. 3.0.0
-
compat
* e.g. 3.0.0
+
compat
*/
*/
_createTag
:
function
(
paths
)
{
_createTag
:
function
(
paths
)
{
Release
.
distVersion
=
Release
.
newVersion
;
Release
.
distVersion
=
Release
.
newVersion
;
Release
.
newVersion
=
Release
.
newVersion
Release
.
newVersion
=
Release
.
newVersion
.
replace
(
/
(\d
+
\.\d
+
\.\d
+
)
/
,
"$1
-
compat"
);
.
replace
(
/
(\d
+
\.\d
+
\.\d
+
)
/
,
"$1
+
compat"
);
return
createTag
(
paths
);
return
createTag
(
paths
);
},
},
/**
/**
...
...
src/core.js
View file @
d18b6457
...
@@ -11,7 +11,7 @@ define([
...
@@ -11,7 +11,7 @@ define([
],
function
(
deletedIds
,
slice
,
concat
,
push
,
indexOf
,
class2type
,
toString
,
hasOwn
,
support
)
{
],
function
(
deletedIds
,
slice
,
concat
,
push
,
indexOf
,
class2type
,
toString
,
hasOwn
,
support
)
{
var
var
version
=
"@VERSION"
,
version
=
"@VERSION
+compat
"
,
// Define a local copy of jQuery
// Define a local copy of jQuery
jQuery
=
function
(
selector
,
context
)
{
jQuery
=
function
(
selector
,
context
)
{
...
...
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