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

Skip to content

Upgrade jquery-ui to 1.14.1 #157

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# master

# 8.0.0

* Update to jQuery UI 1.14.1

# 7.0.0

* Update to jQuery UI 1.13.0
Expand Down
1 change: 1 addition & 0 deletions VERSIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

| Gem | jQuery UI |
|--------|-----------|
| 8.0.0 | 1.14.1 |
| 7.0.0 | 1.13.0 |
| 6.0.1 | 1.12.1 |
| 6.0.0 | 1.12.1 |
Expand Down
5 changes: 0 additions & 5 deletions app/assets/javascripts/jquery-ui.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
//= require jquery-ui/core
//= require jquery-ui/data
//= require jquery-ui/disable-selection
//= require jquery-ui/effect
//= require jquery-ui/focusable
//= require jquery-ui/form-reset-mixin
//= require jquery-ui/form
//= require jquery-ui/ie
//= require jquery-ui/jquery-patch
//= require jquery-ui/jquery-var-for-color
//= require jquery-ui/keycode
//= require jquery-ui/labels
//= require jquery-ui/plugin
//= require jquery-ui/position
//= require jquery-ui/safe-active-element
//= require jquery-ui/safe-blur
//= require jquery-ui/scroll-parent
//= require jquery-ui/tabbable
//= require jquery-ui/unique-id
Expand Down
15 changes: 0 additions & 15 deletions app/assets/javascripts/jquery-ui/core.js

This file was deleted.

26 changes: 10 additions & 16 deletions app/assets/javascripts/jquery-ui/data.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
//= require jquery-ui/version

/*!
* jQuery UI :data 1.13.0
* http://jqueryui.com
* jQuery UI :data 1.14.1
* https://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
* https://jquery.org/license
*/

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

( function( factory ) {
"use strict";
Expand All @@ -30,16 +30,10 @@
"use strict";

return $.extend( $.expr.pseudos, {
data: $.expr.createPseudo ?
$.expr.createPseudo( function( dataName ) {
return function( elem ) {
return !!$.data( elem, dataName );
};
} ) :

// Support: jQuery <1.8
function( elem, i, match ) {
return !!$.data( elem, match[ 3 ] );
}
data: $.expr.createPseudo( function( dataName ) {
return function( elem ) {
return !!$.data( elem, dataName );
};
} )
} );
} );
10 changes: 5 additions & 5 deletions app/assets/javascripts/jquery-ui/disable-selection.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
//= require jquery-ui/version

/*!
* jQuery UI Disable Selection 1.13.0
* http://jqueryui.com
* jQuery UI Disable Selection 1.14.1
* https://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
* https://jquery.org/license
*/

//>>label: disableSelection
//>>group: Core
//>>description: Disable selection of text content within the set of matched elements.
//>>docs: http://api.jqueryui.com/disableSelection/
//>>docs: https://api.jqueryui.com/disableSelection/

// This file is deprecated
( function( factory ) {
Expand Down
55 changes: 17 additions & 38 deletions app/assets/javascripts/jquery-ui/effect.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
//= require jquery-ui/version

/*!
* jQuery UI Effects 1.13.0
* http://jqueryui.com
* jQuery UI Effects 1.14.1
* https://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
* https://jquery.org/license
*/

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

( function( factory ) {
"use strict";
Expand Down Expand Up @@ -85,26 +85,14 @@ function camelCase( string ) {

function getElementStyles( elem ) {
var key, len,
style = elem.ownerDocument.defaultView ?
elem.ownerDocument.defaultView.getComputedStyle( elem, null ) :
elem.currentStyle,
style = elem.ownerDocument.defaultView.getComputedStyle( elem ),
styles = {};

if ( style && style.length && style[ 0 ] && style[ style[ 0 ] ] ) {
len = style.length;
while ( len-- ) {
key = style[ len ];
if ( typeof style[ key ] === "string" ) {
styles[ camelCase( key ) ] = style[ key ];
}
}

// Support: Opera, IE <9
} else {
for ( key in style ) {
if ( typeof style[ key ] === "string" ) {
styles[ key ] = style[ key ];
}
len = style.length;
while ( len-- ) {
key = style[ len ];
if ( typeof style[ key ] === "string" ) {
styles[ camelCase( key ) ] = style[ key ];
}
}

Expand All @@ -129,15 +117,6 @@ function styleDifference( oldStyle, newStyle ) {
return diff;
}

// Support: jQuery <1.8
if ( !$.fn.addBack ) {
$.fn.addBack = function( selector ) {
return this.add( selector == null ?
this.prevObject : this.prevObject.filter( selector )
);
};
}

$.effects.animateClass = function( value, duration, easing, callback ) {
var o = $.speed( duration, easing, callback );

Expand Down Expand Up @@ -277,7 +256,7 @@ if ( $.expr && $.expr.pseudos && $.expr.pseudos.animated ) {
} )( $.expr.pseudos.animated );
}

if ( $.uiBackCompat !== false ) {
if ( $.uiBackCompat === true ) {
$.extend( $.effects, {

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

$.extend( $.effects, {
version: "1.13.0",
version: "1.14.1",

define: function( name, mode, effect ) {
if ( !effect ) {
Expand Down Expand Up @@ -529,7 +508,7 @@ $.extend( $.effects, {

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

if ( $.uiBackCompat !== false && !defaultMode ) {
if ( $.uiBackCompat === true && !defaultMode ) {
if ( elem.is( ":hidden" ) ? mode === "hide" : mode === "show" ) {

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

( function() {

// Based on easing equations from Robert Penner (http://www.robertpenner.com/easing)
// Based on easing equations from Robert Penner (http://robertpenner.com/easing)

var baseEasings = {};

Expand Down
12 changes: 6 additions & 6 deletions app/assets/javascripts/jquery-ui/effects/effect-blind.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
//= require jquery-ui/effect

/*!
* jQuery UI Effects Blind 1.13.0
* http://jqueryui.com
* jQuery UI Effects Blind 1.14.1
* https://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
* https://jquery.org/license
*/

//>>label: Blind Effect
//>>group: Effects
//>>description: Blinds the element.
//>>docs: http://api.jqueryui.com/blind-effect/
//>>demos: http://jqueryui.com/effect/
//>>docs: https://api.jqueryui.com/blind-effect/
//>>demos: https://jqueryui.com/effect/

( function( factory ) {
"use strict";
Expand Down
12 changes: 6 additions & 6 deletions app/assets/javascripts/jquery-ui/effects/effect-bounce.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
//= require jquery-ui/effect

/*!
* jQuery UI Effects Bounce 1.13.0
* http://jqueryui.com
* jQuery UI Effects Bounce 1.14.1
* https://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
* https://jquery.org/license
*/

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

( function( factory ) {
"use strict";
Expand Down
12 changes: 6 additions & 6 deletions app/assets/javascripts/jquery-ui/effects/effect-clip.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
//= require jquery-ui/effect

/*!
* jQuery UI Effects Clip 1.13.0
* http://jqueryui.com
* jQuery UI Effects Clip 1.14.1
* https://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
* https://jquery.org/license
*/

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

( function( factory ) {
"use strict";
Expand Down
12 changes: 6 additions & 6 deletions app/assets/javascripts/jquery-ui/effects/effect-drop.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
//= require jquery-ui/effect

/*!
* jQuery UI Effects Drop 1.13.0
* http://jqueryui.com
* jQuery UI Effects Drop 1.14.1
* https://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
* https://jquery.org/license
*/

//>>label: Drop Effect
//>>group: Effects
//>>description: Moves an element in one direction and hides it at the same time.
//>>docs: http://api.jqueryui.com/drop-effect/
//>>demos: http://jqueryui.com/effect/
//>>docs: https://api.jqueryui.com/drop-effect/
//>>demos: https://jqueryui.com/effect/

( function( factory ) {
"use strict";
Expand Down
12 changes: 6 additions & 6 deletions app/assets/javascripts/jquery-ui/effects/effect-explode.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@
//= require jquery-ui/effect

/*!
* jQuery UI Effects Explode 1.13.0
* http://jqueryui.com
* jQuery UI Effects Explode 1.14.1
* https://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
* https://jquery.org/license
*/

//>>label: Explode Effect
//>>group: Effects
/* eslint-disable max-len */
//>>description: Explodes an element in all directions into n pieces. Implodes an element to its original wholeness.
/* eslint-enable max-len */
//>>docs: http://api.jqueryui.com/explode-effect/
//>>demos: http://jqueryui.com/effect/
//>>docs: https://api.jqueryui.com/explode-effect/
//>>demos: https://jqueryui.com/effect/

( function( factory ) {
"use strict";
Expand Down
Loading