Update jQuery UI to 1.11.4.

Changelog:
* https://jqueryui.com/changelog/1.11.4/
* https://github.com/jquery/jquery-ui/compare/1.11.3...1.11.4

props scott.gonzalez for arranging this release.
fixes #31597, #30998.

git-svn-id: https://develop.svn.wordpress.org/trunk@31716 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2015-03-11 15:11:52 +00:00
parent 507eab72c2
commit 5b7bd930c6
41 changed files with 202 additions and 193 deletions

View File

@ -2861,7 +2861,7 @@ img {
} }
/*! /*!
* jQuery UI Draggable/Sortable 1.11.3 * jQuery UI Draggable/Sortable 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI CSS Framework 1.11.3 * jQuery UI CSS Framework 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors
@ -93,7 +93,7 @@
} }
/*! /*!
* jQuery UI Resizable 1.11.3 * jQuery UI Resizable 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors

View File

@ -105,7 +105,7 @@
} }
/*! /*!
* jQuery UI Draggable/Sortable 1.11.3 * jQuery UI Draggable/Sortable 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Accordion 1.11.3 * jQuery UI Accordion 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors
@ -25,7 +25,7 @@
}(function( $ ) { }(function( $ ) {
return $.widget( "ui.accordion", { return $.widget( "ui.accordion", {
version: "1.11.3", version: "1.11.4",
options: { options: {
active: 0, active: 0,
animate: {}, animate: {},
@ -516,6 +516,7 @@ return $.widget( "ui.accordion", {
var total, easing, duration, var total, easing, duration,
that = this, that = this,
adjust = 0, adjust = 0,
boxSizing = toShow.css( "box-sizing" ),
down = toShow.length && down = toShow.length &&
( !toHide.length || ( toShow.index() < toHide.index() ) ), ( !toHide.length || ( toShow.index() < toHide.index() ) ),
animate = this.options.animate || {}, animate = this.options.animate || {},
@ -558,7 +559,9 @@ return $.widget( "ui.accordion", {
step: function( now, fx ) { step: function( now, fx ) {
fx.now = Math.round( now ); fx.now = Math.round( now );
if ( fx.prop !== "height" ) { if ( fx.prop !== "height" ) {
adjust += fx.now; if ( boxSizing === "content-box" ) {
adjust += fx.now;
}
} else if ( that.options.heightStyle !== "content" ) { } else if ( that.options.heightStyle !== "content" ) {
fx.now = Math.round( total - toHide.outerHeight() - adjust ); fx.now = Math.round( total - toHide.outerHeight() - adjust );
adjust = 0; adjust = 0;

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Autocomplete 1.11.3 * jQuery UI Autocomplete 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors
@ -27,7 +27,7 @@
}(function( $ ) { }(function( $ ) {
$.widget( "ui.autocomplete", { $.widget( "ui.autocomplete", {
version: "1.11.3", version: "1.11.4",
defaultElement: "<input>", defaultElement: "<input>",
options: { options: {
appendTo: null, appendTo: null,

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Button 1.11.3 * jQuery UI Button 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors
@ -52,7 +52,7 @@ var lastActive,
}; };
$.widget( "ui.button", { $.widget( "ui.button", {
version: "1.11.3", version: "1.11.4",
defaultElement: "<button>", defaultElement: "<button>",
options: { options: {
disabled: null, disabled: null,
@ -348,7 +348,7 @@ $.widget( "ui.button", {
}); });
$.widget( "ui.buttonset", { $.widget( "ui.buttonset", {
version: "1.11.3", version: "1.11.4",
options: { options: {
items: "button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(ui-button)" items: "button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(ui-button)"
}, },

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Core 1.11.3 * jQuery UI Core 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors
@ -24,7 +24,7 @@
$.ui = $.ui || {}; $.ui = $.ui || {};
$.extend( $.ui, { $.extend( $.ui, {
version: "1.11.3", version: "1.11.4",
keyCode: { keyCode: {
BACKSPACE: 8, BACKSPACE: 8,

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Datepicker 1.11.3 * jQuery UI Datepicker 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors
@ -23,7 +23,7 @@
} }
}(function( $ ) { }(function( $ ) {
$.extend($.ui, { datepicker: { version: "1.11.3" } }); $.extend($.ui, { datepicker: { version: "1.11.4" } });
var datepicker_instActive; var datepicker_instActive;
@ -2077,7 +2077,7 @@ $.fn.datepicker = function(options){
$.datepicker = new Datepicker(); // singleton instance $.datepicker = new Datepicker(); // singleton instance
$.datepicker.initialized = false; $.datepicker.initialized = false;
$.datepicker.uuid = new Date().getTime(); $.datepicker.uuid = new Date().getTime();
$.datepicker.version = "1.11.3"; $.datepicker.version = "1.11.4";
return $.datepicker; return $.datepicker;

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Dialog 1.11.3 * jQuery UI Dialog 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors
@ -30,7 +30,7 @@
}(function( $ ) { }(function( $ ) {
return $.widget( "ui.dialog", { return $.widget( "ui.dialog", {
version: "1.11.3", version: "1.11.4",
options: { options: {
appendTo: "body", appendTo: "body",
autoOpen: true, autoOpen: true,
@ -150,6 +150,7 @@ return $.widget( "ui.dialog", {
var next, var next,
originalPosition = this.originalPosition; originalPosition = this.originalPosition;
this._untrackInstance();
this._destroyOverlay(); this._destroyOverlay();
this.element this.element
@ -228,10 +229,10 @@ return $.widget( "ui.dialog", {
_moveToTop: function( event, silent ) { _moveToTop: function( event, silent ) {
var moved = false, var moved = false,
zIndicies = this.uiDialog.siblings( ".ui-front:visible" ).map(function() { zIndices = this.uiDialog.siblings( ".ui-front:visible" ).map(function() {
return +$( this ).css( "z-index" ); return +$( this ).css( "z-index" );
}).get(), }).get(),
zIndexMax = Math.max.apply( null, zIndicies ); zIndexMax = Math.max.apply( null, zIndices );
if ( zIndexMax >= +this.uiDialog.css( "z-index" ) ) { if ( zIndexMax >= +this.uiDialog.css( "z-index" ) ) {
this.uiDialog.css( "z-index", zIndexMax + 1 ); this.uiDialog.css( "z-index", zIndexMax + 1 );

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Draggable 1.11.3 * jQuery UI Draggable 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors
@ -26,7 +26,7 @@
}(function( $ ) { }(function( $ ) {
$.widget("ui.draggable", $.ui.mouse, { $.widget("ui.draggable", $.ui.mouse, {
version: "1.11.3", version: "1.11.4",
widgetEventPrefix: "drag", widgetEventPrefix: "drag",
options: { options: {
addClasses: true, addClasses: true,
@ -800,6 +800,9 @@ $.ui.plugin.add( "draggable", "connectToSortable", {
if ( !sortable.isOver ) { if ( !sortable.isOver ) {
sortable.isOver = 1; sortable.isOver = 1;
// Store draggable's parent in case we need to reappend to it later.
draggable._parent = ui.helper.parent();
sortable.currentItem = ui.helper sortable.currentItem = ui.helper
.appendTo( sortable.element ) .appendTo( sortable.element )
.data( "ui-sortable-item", true ); .data( "ui-sortable-item", true );
@ -876,8 +879,9 @@ $.ui.plugin.add( "draggable", "connectToSortable", {
sortable.placeholder.remove(); sortable.placeholder.remove();
} }
// Recalculate the draggable's offset considering the sortable // Restore and recalculate the draggable's offset considering the sortable
// may have modified them in unexpected ways (#8809) // may have modified them in unexpected ways. (#8809, #10669)
ui.helper.appendTo( draggable._parent );
draggable._refreshOffsets( event ); draggable._refreshOffsets( event );
ui.position = draggable._generatePosition( event, true ); ui.position = draggable._generatePosition( event, true );

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Droppable 1.11.3 * jQuery UI Droppable 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors
@ -27,7 +27,7 @@
}(function( $ ) { }(function( $ ) {
$.widget( "ui.droppable", { $.widget( "ui.droppable", {
version: "1.11.3", version: "1.11.4",
widgetEventPrefix: "drop", widgetEventPrefix: "drop",
options: { options: {
accept: "*", accept: "*",

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Effects Blind 1.11.3 * jQuery UI Effects Blind 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Effects Bounce 1.11.3 * jQuery UI Effects Bounce 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Effects Clip 1.11.3 * jQuery UI Effects Clip 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Effects Drop 1.11.3 * jQuery UI Effects Drop 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Effects Explode 1.11.3 * jQuery UI Effects Explode 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Effects Fade 1.11.3 * jQuery UI Effects Fade 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Effects Fold 1.11.3 * jQuery UI Effects Fold 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Effects Highlight 1.11.3 * jQuery UI Effects Highlight 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Effects Puff 1.11.3 * jQuery UI Effects Puff 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Effects Pulsate 1.11.3 * jQuery UI Effects Pulsate 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Effects Scale 1.11.3 * jQuery UI Effects Scale 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Effects Shake 1.11.3 * jQuery UI Effects Shake 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Effects Size 1.11.3 * jQuery UI Effects Size 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Effects Slide 1.11.3 * jQuery UI Effects Slide 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Effects Transfer 1.11.3 * jQuery UI Effects Transfer 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Effects 1.11.3 * jQuery UI Effects 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors
@ -904,7 +904,7 @@ $.fn.extend({
(function() { (function() {
$.extend( $.effects, { $.extend( $.effects, {
version: "1.11.3", version: "1.11.4",
// Saves a set of properties in a data storage // Saves a set of properties in a data storage
save: function( element, set ) { save: function( element, set ) {

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Menu 1.11.3 * jQuery UI Menu 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors
@ -26,7 +26,7 @@
}(function( $ ) { }(function( $ ) {
return $.widget( "ui.menu", { return $.widget( "ui.menu", {
version: "1.11.3", version: "1.11.4",
defaultElement: "<ul>", defaultElement: "<ul>",
delay: 300, delay: 300,
options: { options: {

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Mouse 1.11.3 * jQuery UI Mouse 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors
@ -29,7 +29,7 @@ $( document ).mouseup( function() {
}); });
return $.widget("ui.mouse", { return $.widget("ui.mouse", {
version: "1.11.3", version: "1.11.4",
options: { options: {
cancel: "input,textarea,button,select,option", cancel: "input,textarea,button,select,option",
distance: 1, distance: 1,

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Position 1.11.3 * jQuery UI Position 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Progressbar 1.11.3 * jQuery UI Progressbar 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors
@ -25,7 +25,7 @@
}(function( $ ) { }(function( $ ) {
return $.widget( "ui.progressbar", { return $.widget( "ui.progressbar", {
version: "1.11.3", version: "1.11.4",
options: { options: {
max: 100, max: 100,
value: 0, value: 0,

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Resizable 1.11.3 * jQuery UI Resizable 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors
@ -26,7 +26,7 @@
}(function( $ ) { }(function( $ ) {
$.widget("ui.resizable", $.ui.mouse, { $.widget("ui.resizable", $.ui.mouse, {
version: "1.11.3", version: "1.11.4",
widgetEventPrefix: "resize", widgetEventPrefix: "resize",
options: { options: {
alsoResize: false, alsoResize: false,
@ -160,7 +160,8 @@ $.widget("ui.resizable", $.ui.mouse, {
nw: ".ui-resizable-nw" nw: ".ui-resizable-nw"
} ); } );
if (this.handles.constructor === String) { this._handles = $();
if ( this.handles.constructor === String ) {
if ( this.handles === "all") { if ( this.handles === "all") {
this.handles = "n,e,s,w,se,sw,ne,nw"; this.handles = "n,e,s,w,se,sw,ne,nw";
@ -198,6 +199,9 @@ $.widget("ui.resizable", $.ui.mouse, {
if (this.handles[i].constructor === String) { if (this.handles[i].constructor === String) {
this.handles[i] = this.element.children( this.handles[ i ] ).first().show(); this.handles[i] = this.element.children( this.handles[ i ] ).first().show();
} else if ( this.handles[ i ].jquery || this.handles[ i ].nodeType ) {
this.handles[ i ] = $( this.handles[ i ] );
this._on( this.handles[ i ], { "mousedown": that._mouseDown });
} }
if (this.elementIsWrapper && this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)) { if (this.elementIsWrapper && this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)) {
@ -214,21 +218,17 @@ $.widget("ui.resizable", $.ui.mouse, {
target.css(padPos, padWrapper); target.css(padPos, padWrapper);
this._proportionallyResize(); this._proportionallyResize();
} }
// TODO: What's that good for? There's not anything to be executed left this._handles = this._handles.add( this.handles[ i ] );
if (!$(this.handles[i]).length) {
continue;
}
} }
}; };
// TODO: make renderAxis a prototype function // TODO: make renderAxis a prototype function
this._renderAxis(this.element); this._renderAxis(this.element);
this._handles = $(".ui-resizable-handle", this.element) this._handles = this._handles.add( this.element.find( ".ui-resizable-handle" ) );
.disableSelection(); this._handles.disableSelection();
this._handles.mouseover(function() { this._handles.mouseover(function() {
if (!that.resizing) { if (!that.resizing) {
@ -262,7 +262,6 @@ $.widget("ui.resizable", $.ui.mouse, {
} }
this._mouseInit(); this._mouseInit();
}, },
_destroy: function() { _destroy: function() {
@ -984,29 +983,15 @@ $.ui.plugin.add("resizable", "alsoResize", {
start: function() { start: function() {
var that = $(this).resizable( "instance" ), var that = $(this).resizable( "instance" ),
o = that.options, o = that.options;
_store = function(exp) {
$(exp).each(function() {
var el = $(this);
el.data("ui-resizable-alsoresize", {
width: parseInt(el.width(), 10), height: parseInt(el.height(), 10),
left: parseInt(el.css("left"), 10), top: parseInt(el.css("top"), 10)
});
});
};
if (typeof(o.alsoResize) === "object" && !o.alsoResize.parentNode) { $(o.alsoResize).each(function() {
if (o.alsoResize.length) { var el = $(this);
o.alsoResize = o.alsoResize[0]; el.data("ui-resizable-alsoresize", {
_store(o.alsoResize); width: parseInt(el.width(), 10), height: parseInt(el.height(), 10),
} else { left: parseInt(el.css("left"), 10), top: parseInt(el.css("top"), 10)
$.each(o.alsoResize, function(exp) { });
_store(exp); });
});
}
} else {
_store(o.alsoResize);
}
}, },
resize: function(event, ui) { resize: function(event, ui) {
@ -1019,35 +1004,23 @@ $.ui.plugin.add("resizable", "alsoResize", {
width: (that.size.width - os.width) || 0, width: (that.size.width - os.width) || 0,
top: (that.position.top - op.top) || 0, top: (that.position.top - op.top) || 0,
left: (that.position.left - op.left) || 0 left: (that.position.left - op.left) || 0
},
_alsoResize = function(exp, c) {
$(exp).each(function() {
var el = $(this), start = $(this).data("ui-resizable-alsoresize"), style = {},
css = c && c.length ?
c :
el.parents(ui.originalElement[0]).length ?
[ "width", "height" ] :
[ "width", "height", "top", "left" ];
$.each(css, function(i, prop) {
var sum = (start[prop] || 0) + (delta[prop] || 0);
if (sum && sum >= 0) {
style[prop] = sum || null;
}
});
el.css(style);
});
}; };
if (typeof(o.alsoResize) === "object" && !o.alsoResize.nodeType) { $(o.alsoResize).each(function() {
$.each(o.alsoResize, function(exp, c) { var el = $(this), start = $(this).data("ui-resizable-alsoresize"), style = {},
_alsoResize(exp, c); css = el.parents(ui.originalElement[0]).length ?
[ "width", "height" ] :
[ "width", "height", "top", "left" ];
$.each(css, function(i, prop) {
var sum = (start[prop] || 0) + (delta[prop] || 0);
if (sum && sum >= 0) {
style[prop] = sum || null;
}
});
el.css(style);
}); });
} else {
_alsoResize(o.alsoResize);
}
}, },
stop: function() { stop: function() {

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Selectable 1.11.3 * jQuery UI Selectable 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors
@ -26,7 +26,7 @@
}(function( $ ) { }(function( $ ) {
return $.widget("ui.selectable", $.ui.mouse, { return $.widget("ui.selectable", $.ui.mouse, {
version: "1.11.3", version: "1.11.4",
options: { options: {
appendTo: "body", appendTo: "body",
autoRefresh: true, autoRefresh: true,

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Selectmenu 1.11.3 * jQuery UI Selectmenu 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors
@ -27,7 +27,7 @@
}(function( $ ) { }(function( $ ) {
return $.widget( "ui.selectmenu", { return $.widget( "ui.selectmenu", {
version: "1.11.3", version: "1.11.4",
defaultElement: "<select>", defaultElement: "<select>",
options: { options: {
appendTo: null, appendTo: null,

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Slider 1.11.3 * jQuery UI Slider 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors
@ -26,7 +26,7 @@
}(function( $ ) { }(function( $ ) {
return $.widget( "ui.slider", $.ui.mouse, { return $.widget( "ui.slider", $.ui.mouse, {
version: "1.11.3", version: "1.11.4",
widgetEventPrefix: "slide", widgetEventPrefix: "slide",
options: { options: {
@ -550,7 +550,7 @@ return $.widget( "ui.slider", $.ui.mouse, {
var max = this.options.max, var max = this.options.max,
min = this._valueMin(), min = this._valueMin(),
step = this.options.step, step = this.options.step,
aboveMin = Math.floor( ( max - min ) / step ) * step; aboveMin = Math.floor( ( +( max - min ).toFixed( this._precision() ) ) / step ) * step;
max = aboveMin + min; max = aboveMin + min;
this.max = parseFloat( max.toFixed( this._precision() ) ); this.max = parseFloat( max.toFixed( this._precision() ) );
}, },

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Sortable 1.11.3 * jQuery UI Sortable 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors
@ -26,7 +26,7 @@
}(function( $ ) { }(function( $ ) {
return $.widget("ui.sortable", $.ui.mouse, { return $.widget("ui.sortable", $.ui.mouse, {
version: "1.11.3", version: "1.11.4",
widgetEventPrefix: "sort", widgetEventPrefix: "sort",
ready: false, ready: false,
options: { options: {
@ -77,17 +77,12 @@ return $.widget("ui.sortable", $.ui.mouse, {
}, },
_create: function() { _create: function() {
var o = this.options;
this.containerCache = {}; this.containerCache = {};
this.element.addClass("ui-sortable"); this.element.addClass("ui-sortable");
//Get the items //Get the items
this.refresh(); this.refresh();
//Let's determine if the items are being displayed horizontally
this.floating = this.items.length ? o.axis === "x" || this._isFloating(this.items[0].item) : false;
//Let's determine the parent's offset //Let's determine the parent's offset
this.offset = this.element.offset(); this.offset = this.element.offset();
@ -731,6 +726,11 @@ return $.widget("ui.sortable", $.ui.mouse, {
refreshPositions: function(fast) { refreshPositions: function(fast) {
// Determine whether items are being displayed horizontally
this.floating = this.items.length ?
this.options.axis === "x" || this._isFloating( this.items[ 0 ].item ) :
false;
//This has to be redone because due to the item being moved out/into the offsetParent, the offsetParent's position will change //This has to be redone because due to the item being moved out/into the offsetParent, the offsetParent's position will change
if(this.offsetParent && this.helper) { if(this.offsetParent && this.helper) {
this.offset.parent = this._getParentOffset(); this.offset.parent = this._getParentOffset();
@ -788,12 +788,13 @@ return $.widget("ui.sortable", $.ui.mouse, {
.addClass(className || that.currentItem[0].className+" ui-sortable-placeholder") .addClass(className || that.currentItem[0].className+" ui-sortable-placeholder")
.removeClass("ui-sortable-helper"); .removeClass("ui-sortable-helper");
if ( nodeName === "tr" ) { if ( nodeName === "tbody" ) {
that.currentItem.children().each(function() { that._createTrPlaceholder(
$( "<td>&#160;</td>", that.document[0] ) that.currentItem.find( "tr" ).eq( 0 ),
.attr( "colspan", $( this ).attr( "colspan" ) || 1 ) $( "<tr>", that.document[ 0 ] ).appendTo( element )
.appendTo( element ); );
}); } else if ( nodeName === "tr" ) {
that._createTrPlaceholder( that.currentItem, element );
} else if ( nodeName === "img" ) { } else if ( nodeName === "img" ) {
element.attr( "src", that.currentItem.attr( "src" ) ); element.attr( "src", that.currentItem.attr( "src" ) );
} }
@ -830,6 +831,16 @@ return $.widget("ui.sortable", $.ui.mouse, {
}, },
_createTrPlaceholder: function( sourceTr, targetTr ) {
var that = this;
sourceTr.children().each(function() {
$( "<td>&#160;</td>", that.document[ 0 ] )
.attr( "colspan", $( this ).attr( "colspan" ) || 1 )
.appendTo( targetTr );
});
},
_contactContainers: function(event) { _contactContainers: function(event) {
var i, j, dist, itemWithLeastDistance, posProperty, sizeProperty, cur, nearBottom, floating, axis, var i, j, dist, itemWithLeastDistance, posProperty, sizeProperty, cur, nearBottom, floating, axis,
innermostContainer = null, innermostContainer = null,

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Spinner 1.11.3 * jQuery UI Spinner 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors
@ -37,7 +37,7 @@ function spinner_modifier( fn ) {
} }
return $.widget( "ui.spinner", { return $.widget( "ui.spinner", {
version: "1.11.3", version: "1.11.4",
defaultElement: "<input>", defaultElement: "<input>",
widgetEventPrefix: "spin", widgetEventPrefix: "spin",
options: { options: {

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Tabs 1.11.3 * jQuery UI Tabs 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors
@ -25,7 +25,7 @@
}(function( $ ) { }(function( $ ) {
return $.widget( "ui.tabs", { return $.widget( "ui.tabs", {
version: "1.11.3", version: "1.11.4",
delay: 300, delay: 300,
options: { options: {
active: null, active: null,
@ -817,6 +817,18 @@ return $.widget( "ui.tabs", {
eventData = { eventData = {
tab: tab, tab: tab,
panel: panel panel: panel
},
complete = function( jqXHR, status ) {
if ( status === "abort" ) {
that.panels.stop( false, true );
}
tab.removeClass( "ui-tabs-loading" );
panel.removeAttr( "aria-busy" );
if ( jqXHR === that.xhr ) {
delete that.xhr;
}
}; };
// not remote // not remote
@ -834,28 +846,21 @@ return $.widget( "ui.tabs", {
panel.attr( "aria-busy", "true" ); panel.attr( "aria-busy", "true" );
this.xhr this.xhr
.success(function( response ) { .done(function( response, status, jqXHR ) {
// support: jQuery <1.8 // support: jQuery <1.8
// http://bugs.jquery.com/ticket/11778 // http://bugs.jquery.com/ticket/11778
setTimeout(function() { setTimeout(function() {
panel.html( response ); panel.html( response );
that._trigger( "load", event, eventData ); that._trigger( "load", event, eventData );
complete( jqXHR, status );
}, 1 ); }, 1 );
}) })
.complete(function( jqXHR, status ) { .fail(function( jqXHR, status ) {
// support: jQuery <1.8 // support: jQuery <1.8
// http://bugs.jquery.com/ticket/11778 // http://bugs.jquery.com/ticket/11778
setTimeout(function() { setTimeout(function() {
if ( status === "abort" ) { complete( jqXHR, status );
that.panels.stop( false, true );
}
tab.removeClass( "ui-tabs-loading" );
panel.removeAttr( "aria-busy" );
if ( jqXHR === that.xhr ) {
delete that.xhr;
}
}, 1 ); }, 1 );
}); });
} }

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Tooltip 1.11.3 * jQuery UI Tooltip 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors
@ -26,7 +26,7 @@
}(function( $ ) { }(function( $ ) {
return $.widget( "ui.tooltip", { return $.widget( "ui.tooltip", {
version: "1.11.3", version: "1.11.4",
options: { options: {
content: function() { content: function() {
// support: IE<9, Opera in jQuery <1.7 // support: IE<9, Opera in jQuery <1.7
@ -194,6 +194,7 @@ return $.widget( "ui.tooltip", {
}); });
} }
this._registerCloseHandlers( event, target );
this._updateContent( target, event ); this._updateContent( target, event );
}, },
@ -208,13 +209,16 @@ return $.widget( "ui.tooltip", {
} }
content = contentOption.call( target[0], function( response ) { content = contentOption.call( target[0], function( response ) {
// ignore async response if tooltip was closed already
if ( !target.data( "ui-tooltip-open" ) ) {
return;
}
// IE may instantly serve a cached response for ajax requests // IE may instantly serve a cached response for ajax requests
// delay this call to _open so the other call to _open runs first // delay this call to _open so the other call to _open runs first
that._delay(function() { that._delay(function() {
// Ignore async response if tooltip was closed already
if ( !target.data( "ui-tooltip-open" ) ) {
return;
}
// jQuery creates a special event for focusin when it doesn't // jQuery creates a special event for focusin when it doesn't
// exist natively. To improve performance, the native event // exist natively. To improve performance, the native event
// object is reused and the type is changed. Therefore, we can't // object is reused and the type is changed. Therefore, we can't
@ -232,7 +236,7 @@ return $.widget( "ui.tooltip", {
}, },
_open: function( event, target, content ) { _open: function( event, target, content ) {
var tooltipData, tooltip, events, delayedShow, a11yContent, var tooltipData, tooltip, delayedShow, a11yContent,
positionOption = $.extend( {}, this.options.position ); positionOption = $.extend( {}, this.options.position );
if ( !content ) { if ( !content ) {
@ -314,8 +318,10 @@ return $.widget( "ui.tooltip", {
} }
this._trigger( "open", event, { tooltip: tooltip } ); this._trigger( "open", event, { tooltip: tooltip } );
},
events = { _registerCloseHandlers: function( event, target ) {
var events = {
keyup: function( event ) { keyup: function( event ) {
if ( event.keyCode === $.ui.keyCode.ESCAPE ) { if ( event.keyCode === $.ui.keyCode.ESCAPE ) {
var fakeEvent = $.Event(event); var fakeEvent = $.Event(event);
@ -329,7 +335,7 @@ return $.widget( "ui.tooltip", {
// tooltips will handle this in destroy. // tooltips will handle this in destroy.
if ( target[ 0 ] !== this.element[ 0 ] ) { if ( target[ 0 ] !== this.element[ 0 ] ) {
events.remove = function() { events.remove = function() {
this._removeTooltip( tooltip ); this._removeTooltip( this._find( target ).tooltip );
}; };
} }
@ -350,6 +356,12 @@ return $.widget( "ui.tooltip", {
// The tooltip may already be closed // The tooltip may already be closed
if ( !tooltipData ) { if ( !tooltipData ) {
// We set ui-tooltip-open immediately upon open (in open()), but only set the
// additional data once there's actually content to show (in _open()). So even if the
// tooltip doesn't have full data, we always remove ui-tooltip-open in case we're in
// the period between open() and _open().
target.removeData( "ui-tooltip-open" );
return; return;
} }

View File

@ -1,5 +1,5 @@
/*! /*!
* jQuery UI Widget 1.11.3 * jQuery UI Widget 1.11.4
* http://jqueryui.com * http://jqueryui.com
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors

View File

@ -168,45 +168,45 @@ function wp_default_scripts( &$scripts ) {
$scripts->add( 'jquery-migrate', "/wp-includes/js/jquery/jquery-migrate$suffix.js", array(), '1.2.1' ); $scripts->add( 'jquery-migrate', "/wp-includes/js/jquery/jquery-migrate$suffix.js", array(), '1.2.1' );
// full jQuery UI // full jQuery UI
$scripts->add( 'jquery-ui-core', "/wp-includes/js/jquery/ui/core$dev_suffix.js", array('jquery'), '1.11.3', 1 ); $scripts->add( 'jquery-ui-core', "/wp-includes/js/jquery/ui/core$dev_suffix.js", array('jquery'), '1.11.4', 1 );
$scripts->add( 'jquery-effects-core', "/wp-includes/js/jquery/ui/effect$dev_suffix.js", array('jquery'), '1.11.3', 1 ); $scripts->add( 'jquery-effects-core', "/wp-includes/js/jquery/ui/effect$dev_suffix.js", array('jquery'), '1.11.4', 1 );
$scripts->add( 'jquery-effects-blind', "/wp-includes/js/jquery/ui/effect-blind$dev_suffix.js", array('jquery-effects-core'), '1.11.3', 1 ); $scripts->add( 'jquery-effects-blind', "/wp-includes/js/jquery/ui/effect-blind$dev_suffix.js", array('jquery-effects-core'), '1.11.4', 1 );
$scripts->add( 'jquery-effects-bounce', "/wp-includes/js/jquery/ui/effect-bounce$dev_suffix.js", array('jquery-effects-core'), '1.11.3', 1 ); $scripts->add( 'jquery-effects-bounce', "/wp-includes/js/jquery/ui/effect-bounce$dev_suffix.js", array('jquery-effects-core'), '1.11.4', 1 );
$scripts->add( 'jquery-effects-clip', "/wp-includes/js/jquery/ui/effect-clip$dev_suffix.js", array('jquery-effects-core'), '1.11.3', 1 ); $scripts->add( 'jquery-effects-clip', "/wp-includes/js/jquery/ui/effect-clip$dev_suffix.js", array('jquery-effects-core'), '1.11.4', 1 );
$scripts->add( 'jquery-effects-drop', "/wp-includes/js/jquery/ui/effect-drop$dev_suffix.js", array('jquery-effects-core'), '1.11.3', 1 ); $scripts->add( 'jquery-effects-drop', "/wp-includes/js/jquery/ui/effect-drop$dev_suffix.js", array('jquery-effects-core'), '1.11.4', 1 );
$scripts->add( 'jquery-effects-explode', "/wp-includes/js/jquery/ui/effect-explode$dev_suffix.js", array('jquery-effects-core'), '1.11.3', 1 ); $scripts->add( 'jquery-effects-explode', "/wp-includes/js/jquery/ui/effect-explode$dev_suffix.js", array('jquery-effects-core'), '1.11.4', 1 );
$scripts->add( 'jquery-effects-fade', "/wp-includes/js/jquery/ui/effect-fade$dev_suffix.js", array('jquery-effects-core'), '1.11.3', 1 ); $scripts->add( 'jquery-effects-fade', "/wp-includes/js/jquery/ui/effect-fade$dev_suffix.js", array('jquery-effects-core'), '1.11.4', 1 );
$scripts->add( 'jquery-effects-fold', "/wp-includes/js/jquery/ui/effect-fold$dev_suffix.js", array('jquery-effects-core'), '1.11.3', 1 ); $scripts->add( 'jquery-effects-fold', "/wp-includes/js/jquery/ui/effect-fold$dev_suffix.js", array('jquery-effects-core'), '1.11.4', 1 );
$scripts->add( 'jquery-effects-highlight', "/wp-includes/js/jquery/ui/effect-highlight$dev_suffix.js", array('jquery-effects-core'), '1.11.3', 1 ); $scripts->add( 'jquery-effects-highlight', "/wp-includes/js/jquery/ui/effect-highlight$dev_suffix.js", array('jquery-effects-core'), '1.11.4', 1 );
$scripts->add( 'jquery-effects-puff', "/wp-includes/js/jquery/ui/effect-puff$dev_suffix.js", array('jquery-effects-core', 'jquery-effects-scale'), '1.11.3', 1 ); $scripts->add( 'jquery-effects-puff', "/wp-includes/js/jquery/ui/effect-puff$dev_suffix.js", array('jquery-effects-core', 'jquery-effects-scale'), '1.11.4', 1 );
$scripts->add( 'jquery-effects-pulsate', "/wp-includes/js/jquery/ui/effect-pulsate$dev_suffix.js", array('jquery-effects-core'), '1.11.3', 1 ); $scripts->add( 'jquery-effects-pulsate', "/wp-includes/js/jquery/ui/effect-pulsate$dev_suffix.js", array('jquery-effects-core'), '1.11.4', 1 );
$scripts->add( 'jquery-effects-scale', "/wp-includes/js/jquery/ui/effect-scale$dev_suffix.js", array('jquery-effects-core', 'jquery-effects-size'), '1.11.3', 1 ); $scripts->add( 'jquery-effects-scale', "/wp-includes/js/jquery/ui/effect-scale$dev_suffix.js", array('jquery-effects-core', 'jquery-effects-size'), '1.11.4', 1 );
$scripts->add( 'jquery-effects-shake', "/wp-includes/js/jquery/ui/effect-shake$dev_suffix.js", array('jquery-effects-core'), '1.11.3', 1 ); $scripts->add( 'jquery-effects-shake', "/wp-includes/js/jquery/ui/effect-shake$dev_suffix.js", array('jquery-effects-core'), '1.11.4', 1 );
$scripts->add( 'jquery-effects-size', "/wp-includes/js/jquery/ui/effect-size$dev_suffix.js", array('jquery-effects-core'), '1.11.3', 1 ); $scripts->add( 'jquery-effects-size', "/wp-includes/js/jquery/ui/effect-size$dev_suffix.js", array('jquery-effects-core'), '1.11.4', 1 );
$scripts->add( 'jquery-effects-slide', "/wp-includes/js/jquery/ui/effect-slide$dev_suffix.js", array('jquery-effects-core'), '1.11.3', 1 ); $scripts->add( 'jquery-effects-slide', "/wp-includes/js/jquery/ui/effect-slide$dev_suffix.js", array('jquery-effects-core'), '1.11.4', 1 );
$scripts->add( 'jquery-effects-transfer', "/wp-includes/js/jquery/ui/effect-transfer$dev_suffix.js", array('jquery-effects-core'), '1.11.3', 1 ); $scripts->add( 'jquery-effects-transfer', "/wp-includes/js/jquery/ui/effect-transfer$dev_suffix.js", array('jquery-effects-core'), '1.11.4', 1 );
$scripts->add( 'jquery-ui-accordion', "/wp-includes/js/jquery/ui/accordion$dev_suffix.js", array('jquery-ui-core', 'jquery-ui-widget'), '1.11.3', 1 ); $scripts->add( 'jquery-ui-accordion', "/wp-includes/js/jquery/ui/accordion$dev_suffix.js", array('jquery-ui-core', 'jquery-ui-widget'), '1.11.4', 1 );
$scripts->add( 'jquery-ui-autocomplete', "/wp-includes/js/jquery/ui/autocomplete$dev_suffix.js", array('jquery-ui-menu'), '1.11.3', 1 ); $scripts->add( 'jquery-ui-autocomplete', "/wp-includes/js/jquery/ui/autocomplete$dev_suffix.js", array('jquery-ui-menu'), '1.11.4', 1 );
$scripts->add( 'jquery-ui-button', "/wp-includes/js/jquery/ui/button$dev_suffix.js", array('jquery-ui-core', 'jquery-ui-widget'), '1.11.3', 1 ); $scripts->add( 'jquery-ui-button', "/wp-includes/js/jquery/ui/button$dev_suffix.js", array('jquery-ui-core', 'jquery-ui-widget'), '1.11.4', 1 );
$scripts->add( 'jquery-ui-datepicker', "/wp-includes/js/jquery/ui/datepicker$dev_suffix.js", array('jquery-ui-core'), '1.11.3', 1 ); $scripts->add( 'jquery-ui-datepicker', "/wp-includes/js/jquery/ui/datepicker$dev_suffix.js", array('jquery-ui-core'), '1.11.4', 1 );
$scripts->add( 'jquery-ui-dialog', "/wp-includes/js/jquery/ui/dialog$dev_suffix.js", array('jquery-ui-resizable', 'jquery-ui-draggable', 'jquery-ui-button', 'jquery-ui-position'), '1.11.3', 1 ); $scripts->add( 'jquery-ui-dialog', "/wp-includes/js/jquery/ui/dialog$dev_suffix.js", array('jquery-ui-resizable', 'jquery-ui-draggable', 'jquery-ui-button', 'jquery-ui-position'), '1.11.4', 1 );
$scripts->add( 'jquery-ui-draggable', "/wp-includes/js/jquery/ui/draggable$dev_suffix.js", array('jquery-ui-mouse'), '1.11.3', 1 ); $scripts->add( 'jquery-ui-draggable', "/wp-includes/js/jquery/ui/draggable$dev_suffix.js", array('jquery-ui-mouse'), '1.11.4', 1 );
$scripts->add( 'jquery-ui-droppable', "/wp-includes/js/jquery/ui/droppable$dev_suffix.js", array('jquery-ui-draggable'), '1.11.3', 1 ); $scripts->add( 'jquery-ui-droppable', "/wp-includes/js/jquery/ui/droppable$dev_suffix.js", array('jquery-ui-draggable'), '1.11.4', 1 );
$scripts->add( 'jquery-ui-menu', "/wp-includes/js/jquery/ui/menu$dev_suffix.js", array( 'jquery-ui-core', 'jquery-ui-widget', 'jquery-ui-position' ), '1.11.3', 1 ); $scripts->add( 'jquery-ui-menu', "/wp-includes/js/jquery/ui/menu$dev_suffix.js", array( 'jquery-ui-core', 'jquery-ui-widget', 'jquery-ui-position' ), '1.11.4', 1 );
$scripts->add( 'jquery-ui-mouse', "/wp-includes/js/jquery/ui/mouse$dev_suffix.js", array( 'jquery-ui-core', 'jquery-ui-widget' ), '1.11.3', 1 ); $scripts->add( 'jquery-ui-mouse', "/wp-includes/js/jquery/ui/mouse$dev_suffix.js", array( 'jquery-ui-core', 'jquery-ui-widget' ), '1.11.4', 1 );
$scripts->add( 'jquery-ui-position', "/wp-includes/js/jquery/ui/position$dev_suffix.js", array('jquery'), '1.11.3', 1 ); $scripts->add( 'jquery-ui-position', "/wp-includes/js/jquery/ui/position$dev_suffix.js", array('jquery'), '1.11.4', 1 );
$scripts->add( 'jquery-ui-progressbar', "/wp-includes/js/jquery/ui/progressbar$dev_suffix.js", array('jquery-ui-core', 'jquery-ui-widget'), '1.11.3', 1 ); $scripts->add( 'jquery-ui-progressbar', "/wp-includes/js/jquery/ui/progressbar$dev_suffix.js", array('jquery-ui-core', 'jquery-ui-widget'), '1.11.4', 1 );
$scripts->add( 'jquery-ui-resizable', "/wp-includes/js/jquery/ui/resizable$dev_suffix.js", array('jquery-ui-mouse'), '1.11.3', 1 ); $scripts->add( 'jquery-ui-resizable', "/wp-includes/js/jquery/ui/resizable$dev_suffix.js", array('jquery-ui-mouse'), '1.11.4', 1 );
$scripts->add( 'jquery-ui-selectable', "/wp-includes/js/jquery/ui/selectable$dev_suffix.js", array('jquery-ui-mouse'), '1.11.3', 1 ); $scripts->add( 'jquery-ui-selectable', "/wp-includes/js/jquery/ui/selectable$dev_suffix.js", array('jquery-ui-mouse'), '1.11.4', 1 );
$scripts->add( 'jquery-ui-selectmenu', "/wp-includes/js/jquery/ui/selectmenu$dev_suffix.js", array('jquery-ui-menu'), '1.11.3', 1 ); $scripts->add( 'jquery-ui-selectmenu', "/wp-includes/js/jquery/ui/selectmenu$dev_suffix.js", array('jquery-ui-menu'), '1.11.4', 1 );
$scripts->add( 'jquery-ui-slider', "/wp-includes/js/jquery/ui/slider$dev_suffix.js", array('jquery-ui-mouse'), '1.11.3', 1 ); $scripts->add( 'jquery-ui-slider', "/wp-includes/js/jquery/ui/slider$dev_suffix.js", array('jquery-ui-mouse'), '1.11.4', 1 );
$scripts->add( 'jquery-ui-sortable', "/wp-includes/js/jquery/ui/sortable$dev_suffix.js", array('jquery-ui-mouse'), '1.11.3', 1 ); $scripts->add( 'jquery-ui-sortable', "/wp-includes/js/jquery/ui/sortable$dev_suffix.js", array('jquery-ui-mouse'), '1.11.4', 1 );
$scripts->add( 'jquery-ui-spinner', "/wp-includes/js/jquery/ui/spinner$dev_suffix.js", array( 'jquery-ui-button' ), '1.11.3', 1 ); $scripts->add( 'jquery-ui-spinner', "/wp-includes/js/jquery/ui/spinner$dev_suffix.js", array( 'jquery-ui-button' ), '1.11.4', 1 );
$scripts->add( 'jquery-ui-tabs', "/wp-includes/js/jquery/ui/tabs$dev_suffix.js", array('jquery-ui-core', 'jquery-ui-widget'), '1.11.3', 1 ); $scripts->add( 'jquery-ui-tabs', "/wp-includes/js/jquery/ui/tabs$dev_suffix.js", array('jquery-ui-core', 'jquery-ui-widget'), '1.11.4', 1 );
$scripts->add( 'jquery-ui-tooltip', "/wp-includes/js/jquery/ui/tooltip$dev_suffix.js", array( 'jquery-ui-core', 'jquery-ui-widget', 'jquery-ui-position' ), '1.11.3', 1 ); $scripts->add( 'jquery-ui-tooltip', "/wp-includes/js/jquery/ui/tooltip$dev_suffix.js", array( 'jquery-ui-core', 'jquery-ui-widget', 'jquery-ui-position' ), '1.11.4', 1 );
$scripts->add( 'jquery-ui-widget', "/wp-includes/js/jquery/ui/widget$dev_suffix.js", array('jquery'), '1.11.3', 1 ); $scripts->add( 'jquery-ui-widget', "/wp-includes/js/jquery/ui/widget$dev_suffix.js", array('jquery'), '1.11.4', 1 );
// deprecated, not used in core, most functionality is included in jQuery 1.3 // deprecated, not used in core, most functionality is included in jQuery 1.3
$scripts->add( 'jquery-form', "/wp-includes/js/jquery/jquery.form$suffix.js", array('jquery'), '3.37.0', 1 ); $scripts->add( 'jquery-form', "/wp-includes/js/jquery/jquery.form$suffix.js", array('jquery'), '3.37.0', 1 );