Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 084416d

Browse files
authored
Merge pull request #157 from jquery-ui-rails/upgrade-1.14.1
Upgrade jquery-ui to 1.14.1
2 parents c7460b4 + 78b0983 commit 084416d

File tree

139 files changed

+872
-1238
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+872
-1238
lines changed

History.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# master
22

3+
# 8.0.0
4+
5+
* Update to jQuery UI 1.14.1
6+
37
# 7.0.0
48

59
* Update to jQuery UI 1.13.0

VERSIONS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
| Gem | jQuery UI |
44
|--------|-----------|
5+
| 8.0.0 | 1.14.1 |
56
| 7.0.0 | 1.13.0 |
67
| 6.0.1 | 1.12.1 |
78
| 6.0.0 | 1.12.1 |

app/assets/javascripts/jquery-ui.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
1-
//= require jquery-ui/core
21
//= require jquery-ui/data
32
//= require jquery-ui/disable-selection
43
//= require jquery-ui/effect
54
//= require jquery-ui/focusable
65
//= require jquery-ui/form-reset-mixin
7-
//= require jquery-ui/form
8-
//= require jquery-ui/ie
96
//= require jquery-ui/jquery-patch
107
//= require jquery-ui/jquery-var-for-color
118
//= require jquery-ui/keycode
129
//= require jquery-ui/labels
1310
//= require jquery-ui/plugin
1411
//= require jquery-ui/position
15-
//= require jquery-ui/safe-active-element
16-
//= require jquery-ui/safe-blur
1712
//= require jquery-ui/scroll-parent
1813
//= require jquery-ui/tabbable
1914
//= require jquery-ui/unique-id

app/assets/javascripts/jquery-ui/core.js

Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
//= require jquery-ui/version
22

33
/*!
4-
* jQuery UI :data 1.13.0
5-
* http://jqueryui.com
4+
* jQuery UI :data 1.14.1
5+
* https://jqueryui.com
66
*
7-
* Copyright jQuery Foundation and other contributors
7+
* Copyright OpenJS Foundation and other contributors
88
* Released under the MIT license.
9-
* http://jquery.org/license
9+
* https://jquery.org/license
1010
*/
1111

1212
//>>label: :data Selector
1313
//>>group: Core
1414
//>>description: Selects elements which have data stored under the specified key.
15-
//>>docs: http://api.jqueryui.com/data-selector/
15+
//>>docs: https://api.jqueryui.com/data-selector/
1616

1717
( function( factory ) {
1818
"use strict";
@@ -30,16 +30,10 @@
3030
"use strict";
3131

3232
return $.extend( $.expr.pseudos, {
33-
data: $.expr.createPseudo ?
34-
$.expr.createPseudo( function( dataName ) {
35-
return function( elem ) {
36-
return !!$.data( elem, dataName );
37-
};
38-
} ) :
39-
40-
// Support: jQuery <1.8
41-
function( elem, i, match ) {
42-
return !!$.data( elem, match[ 3 ] );
43-
}
33+
data: $.expr.createPseudo( function( dataName ) {
34+
return function( elem ) {
35+
return !!$.data( elem, dataName );
36+
};
37+
} )
4438
} );
4539
} );

app/assets/javascripts/jquery-ui/disable-selection.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
//= require jquery-ui/version
22

33
/*!
4-
* jQuery UI Disable Selection 1.13.0
5-
* http://jqueryui.com
4+
* jQuery UI Disable Selection 1.14.1
5+
* https://jqueryui.com
66
*
7-
* Copyright jQuery Foundation and other contributors
7+
* Copyright OpenJS Foundation and other contributors
88
* Released under the MIT license.
9-
* http://jquery.org/license
9+
* https://jquery.org/license
1010
*/
1111

1212
//>>label: disableSelection
1313
//>>group: Core
1414
//>>description: Disable selection of text content within the set of matched elements.
15-
//>>docs: http://api.jqueryui.com/disableSelection/
15+
//>>docs: https://api.jqueryui.com/disableSelection/
1616

1717
// This file is deprecated
1818
( function( factory ) {

app/assets/javascripts/jquery-ui/effect.js

Lines changed: 17 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@
33
//= require jquery-ui/version
44

55
/*!
6-
* jQuery UI Effects 1.13.0
7-
* http://jqueryui.com
6+
* jQuery UI Effects 1.14.1
7+
* https://jqueryui.com
88
*
9-
* Copyright jQuery Foundation and other contributors
9+
* Copyright OpenJS Foundation and other contributors
1010
* Released under the MIT license.
11-
* http://jquery.org/license
11+
* https://jquery.org/license
1212
*/
1313

1414
//>>label: Effects Core
1515
//>>group: Effects
1616
/* eslint-disable max-len */
1717
//>>description: Extends the internal jQuery effects. Includes morphing and easing. Required by all other effects.
1818
/* eslint-enable max-len */
19-
//>>docs: http://api.jqueryui.com/category/effects-core/
20-
//>>demos: http://jqueryui.com/effect/
19+
//>>docs: https://api.jqueryui.com/category/effects-core/
20+
//>>demos: https://jqueryui.com/effect/
2121

2222
( function( factory ) {
2323
"use strict";
@@ -85,26 +85,14 @@ function camelCase( string ) {
8585

8686
function getElementStyles( elem ) {
8787
var key, len,
88-
style = elem.ownerDocument.defaultView ?
89-
elem.ownerDocument.defaultView.getComputedStyle( elem, null ) :
90-
elem.currentStyle,
88+
style = elem.ownerDocument.defaultView.getComputedStyle( elem ),
9189
styles = {};
9290

93-
if ( style && style.length && style[ 0 ] && style[ style[ 0 ] ] ) {
94-
len = style.length;
95-
while ( len-- ) {
96-
key = style[ len ];
97-
if ( typeof style[ key ] === "string" ) {
98-
styles[ camelCase( key ) ] = style[ key ];
99-
}
100-
}
101-
102-
// Support: Opera, IE <9
103-
} else {
104-
for ( key in style ) {
105-
if ( typeof style[ key ] === "string" ) {
106-
styles[ key ] = style[ key ];
107-
}
91+
len = style.length;
92+
while ( len-- ) {
93+
key = style[ len ];
94+
if ( typeof style[ key ] === "string" ) {
95+
styles[ camelCase( key ) ] = style[ key ];
10896
}
10997
}
11098

@@ -129,15 +117,6 @@ function styleDifference( oldStyle, newStyle ) {
129117
return diff;
130118
}
131119

132-
// Support: jQuery <1.8
133-
if ( !$.fn.addBack ) {
134-
$.fn.addBack = function( selector ) {
135-
return this.add( selector == null ?
136-
this.prevObject : this.prevObject.filter( selector )
137-
);
138-
};
139-
}
140-
141120
$.effects.animateClass = function( value, duration, easing, callback ) {
142121
var o = $.speed( duration, easing, callback );
143122

@@ -277,7 +256,7 @@ if ( $.expr && $.expr.pseudos && $.expr.pseudos.animated ) {
277256
} )( $.expr.pseudos.animated );
278257
}
279258

280-
if ( $.uiBackCompat !== false ) {
259+
if ( $.uiBackCompat === true ) {
281260
$.extend( $.effects, {
282261

283262
// Saves a set of properties in a data storage
@@ -406,7 +385,7 @@ if ( $.uiBackCompat !== false ) {
406385
}
407386

408387
$.extend( $.effects, {
409-
version: "1.13.0",
388+
version: "1.14.1",
410389

411390
define: function( name, mode, effect ) {
412391
if ( !effect ) {
@@ -529,7 +508,7 @@ $.extend( $.effects, {
529508

530509
// Lock in margins first to account for form elements, which
531510
// will change margin if you explicitly set height
532-
// see: http://jsfiddle.net/JZSMt/3/ https://bugs.webkit.org/show_bug.cgi?id=107380
511+
// see: https://jsfiddle.net/JZSMt/3/ https://bugs.webkit.org/show_bug.cgi?id=107380
533512
// Support: Safari
534513
element.css( {
535514
marginTop: element.css( "marginTop" ),
@@ -763,7 +742,7 @@ $.fn.extend( {
763742
// as toggle can be either show or hide depending on element state
764743
args.mode = modes.shift();
765744

766-
if ( $.uiBackCompat !== false && !defaultMode ) {
745+
if ( $.uiBackCompat === true && !defaultMode ) {
767746
if ( elem.is( ":hidden" ) ? mode === "hide" : mode === "show" ) {
768747

769748
// Call the core method to track "olddisplay" properly
@@ -923,7 +902,7 @@ $.fx.step.clip = function( fx ) {
923902

924903
( function() {
925904

926-
// Based on easing equations from Robert Penner (http://www.robertpenner.com/easing)
905+
// Based on easing equations from Robert Penner (http://robertpenner.com/easing)
927906

928907
var baseEasings = {};
929908

app/assets/javascripts/jquery-ui/effects/effect-blind.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22
//= require jquery-ui/effect
33

44
/*!
5-
* jQuery UI Effects Blind 1.13.0
6-
* http://jqueryui.com
5+
* jQuery UI Effects Blind 1.14.1
6+
* https://jqueryui.com
77
*
8-
* Copyright jQuery Foundation and other contributors
8+
* Copyright OpenJS Foundation and other contributors
99
* Released under the MIT license.
10-
* http://jquery.org/license
10+
* https://jquery.org/license
1111
*/
1212

1313
//>>label: Blind Effect
1414
//>>group: Effects
1515
//>>description: Blinds the element.
16-
//>>docs: http://api.jqueryui.com/blind-effect/
17-
//>>demos: http://jqueryui.com/effect/
16+
//>>docs: https://api.jqueryui.com/blind-effect/
17+
//>>demos: https://jqueryui.com/effect/
1818

1919
( function( factory ) {
2020
"use strict";

app/assets/javascripts/jquery-ui/effects/effect-bounce.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22
//= require jquery-ui/effect
33

44
/*!
5-
* jQuery UI Effects Bounce 1.13.0
6-
* http://jqueryui.com
5+
* jQuery UI Effects Bounce 1.14.1
6+
* https://jqueryui.com
77
*
8-
* Copyright jQuery Foundation and other contributors
8+
* Copyright OpenJS Foundation and other contributors
99
* Released under the MIT license.
10-
* http://jquery.org/license
10+
* https://jquery.org/license
1111
*/
1212

1313
//>>label: Bounce Effect
1414
//>>group: Effects
1515
//>>description: Bounces an element horizontally or vertically n times.
16-
//>>docs: http://api.jqueryui.com/bounce-effect/
17-
//>>demos: http://jqueryui.com/effect/
16+
//>>docs: https://api.jqueryui.com/bounce-effect/
17+
//>>demos: https://jqueryui.com/effect/
1818

1919
( function( factory ) {
2020
"use strict";

app/assets/javascripts/jquery-ui/effects/effect-clip.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22
//= require jquery-ui/effect
33

44
/*!
5-
* jQuery UI Effects Clip 1.13.0
6-
* http://jqueryui.com
5+
* jQuery UI Effects Clip 1.14.1
6+
* https://jqueryui.com
77
*
8-
* Copyright jQuery Foundation and other contributors
8+
* Copyright OpenJS Foundation and other contributors
99
* Released under the MIT license.
10-
* http://jquery.org/license
10+
* https://jquery.org/license
1111
*/
1212

1313
//>>label: Clip Effect
1414
//>>group: Effects
1515
//>>description: Clips the element on and off like an old TV.
16-
//>>docs: http://api.jqueryui.com/clip-effect/
17-
//>>demos: http://jqueryui.com/effect/
16+
//>>docs: https://api.jqueryui.com/clip-effect/
17+
//>>demos: https://jqueryui.com/effect/
1818

1919
( function( factory ) {
2020
"use strict";

0 commit comments

Comments
 (0)