Skip to content

Commit c5204f7

Browse files
authored
Merge branch 'jquery:main' into master
2 parents 8d21dce + 2fd224d commit c5204f7

File tree

6 files changed

+34
-15
lines changed

6 files changed

+34
-15
lines changed

build/release.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Release.define( {
140140
};
141141

142142
module.exports.dependencies = [
143-
"download.jqueryui.com@2.2.1",
143+
"download.jqueryui.com@2.2.4",
144144
"node-packager@0.0.6",
145145
"shelljs@0.8.4"
146146
];

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,19 +51,19 @@
5151
"devDependencies": {
5252
"commitplease": "3.2.0",
5353
"eslint-config-jquery": "3.0.0",
54-
"glob": "7.1.6",
55-
"grunt": "1.3.0",
54+
"glob": "7.1.7",
55+
"grunt": "1.4.1",
5656
"grunt-bowercopy": "1.2.5",
57-
"grunt-cli": "1.3.2",
57+
"grunt-cli": "1.4.3",
5858
"grunt-compare-size": "0.4.2",
5959
"grunt-contrib-concat": "1.0.1",
6060
"grunt-contrib-csslint": "2.0.0",
61-
"grunt-contrib-qunit": "4.0.0",
61+
"grunt-contrib-qunit": "5.0.1",
6262
"grunt-contrib-requirejs": "1.0.0",
63-
"grunt-contrib-uglify": "5.0.0",
63+
"grunt-contrib-uglify": "5.0.1",
6464
"grunt-eslint": "23.0.0",
6565
"grunt-git-authors": "3.2.0",
66-
"grunt-html": "14.2.0",
66+
"grunt-html": "14.5.0",
6767
"load-grunt-tasks": "5.1.0",
6868
"rimraf": "3.0.2",
6969
"testswarm": "1.1.2"

ui/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file is deprecated in 1.12.0 to be removed in 1.13
1+
// This file is deprecated in 1.12.0 to be removed in 1.14
22
( function() {
33
"use strict";
44

ui/effect.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
// AMD. Register as an anonymous module.
2424
define( [
2525
"jquery",
26+
"./jquery-var-for-color",
2627
"./vendor/jquery-color/jquery.color",
2728
"./version"
2829
], factory );
@@ -36,11 +37,7 @@
3637

3738
var dataSpace = "ui-effects-",
3839
dataSpaceStyle = "ui-effects-style",
39-
dataSpaceAnimated = "ui-effects-animated",
40-
41-
// Create a local jQuery because jQuery Color relies on it and the
42-
// global may not exist with AMD and a custom build (#10199)
43-
jQuery = $;
40+
dataSpaceAnimated = "ui-effects-animated";
4441

4542
$.effects = {
4643
effect: {}
@@ -704,7 +701,7 @@ $.fn.extend( {
704701
// as the .show() below destroys the initial state
705702
modes.push( normalizedMode );
706703

707-
// See $.uiBackCompat inside of run() for removal of defaultMode in 1.13
704+
// See $.uiBackCompat inside of run() for removal of defaultMode in 1.14
708705
if ( defaultMode && ( normalizedMode === "show" ||
709706
( normalizedMode === defaultMode && normalizedMode === "hide" ) ) ) {
710707
el.show();

ui/jquery-var-for-color.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
( function( factory ) {
2+
"use strict";
3+
4+
if ( typeof define === "function" && define.amd ) {
5+
6+
// AMD. Register as an anonymous module.
7+
define( [ "jquery", "./version" ], factory );
8+
} else {
9+
10+
// Browser globals
11+
factory( jQuery );
12+
}
13+
} )( function( $ ) {
14+
"use strict";
15+
16+
// Create a local jQuery because jQuery Color relies on it and the
17+
// global may not exist with AMD and a custom build (#10199).
18+
// This module is a noop if used as a regular AMD module.
19+
// eslint-disable-next-line no-unused-vars
20+
var jQuery = $;
21+
22+
} );

ui/widgets/droppable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ $.widget( "ui.droppable", {
241241
},
242242

243243
// Extension points just to make backcompat sane and avoid duplicating logic
244-
// TODO: Remove in 1.13 along with call to it below
244+
// TODO: Remove in 1.14 along with call to it below
245245
_addHoverClass: function() {
246246
this._addClass( "ui-droppable-hover" );
247247
},

0 commit comments

Comments
 (0)