Skip to content

Commit cd6c608

Browse files
committed
Merge pull request jquery-ui-rails#85 from rosenfeld/master
Upgrade jQuery UI to 1.11.2
2 parents 1b5a2a5 + 92bd2b9 commit cd6c608

Some content is hidden

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

63 files changed

+571
-364
lines changed

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

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//= require jquery-ui/widget
33

44
/*!
5-
* jQuery UI Accordion 1.11.1
5+
* jQuery UI Accordion 1.11.2
66
* http://jqueryui.com
77
*
88
* Copyright 2014 jQuery Foundation and other contributors
@@ -28,7 +28,7 @@
2828
}(function( $ ) {
2929

3030
return $.widget( "ui.accordion", {
31-
version: "1.11.1",
31+
version: "1.11.2",
3232
options: {
3333
active: 0,
3434
animate: {},
@@ -262,13 +262,22 @@ return $.widget( "ui.accordion", {
262262
},
263263

264264
_processPanels: function() {
265+
var prevHeaders = this.headers,
266+
prevPanels = this.panels;
267+
265268
this.headers = this.element.find( this.options.header )
266269
.addClass( "ui-accordion-header ui-state-default ui-corner-all" );
267270

268-
this.headers.next()
271+
this.panels = this.headers.next()
269272
.addClass( "ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom" )
270273
.filter( ":not(.ui-accordion-content-active)" )
271274
.hide();
275+
276+
// Avoid memory leaks (#10056)
277+
if ( prevPanels ) {
278+
this._off( prevHeaders.not( this.headers ) );
279+
this._off( prevPanels.not( this.panels ) );
280+
}
272281
},
273282

274283
_refresh: function() {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//= require jquery-ui/position
55

66
/*!
7-
* jQuery UI Autocomplete 1.11.1
7+
* jQuery UI Autocomplete 1.11.2
88
* http://jqueryui.com
99
*
1010
* Copyright 2014 jQuery Foundation and other contributors
@@ -32,7 +32,7 @@
3232
}(function( $ ) {
3333

3434
$.widget( "ui.autocomplete", {
35-
version: "1.11.1",
35+
version: "1.11.2",
3636
defaultElement: "<input>",
3737
options: {
3838
appendTo: null,

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//= require jquery-ui/widget
33

44
/*!
5-
* jQuery UI Button 1.11.1
5+
* jQuery UI Button 1.11.2
66
* http://jqueryui.com
77
*
88
* Copyright 2014 jQuery Foundation and other contributors
@@ -55,7 +55,7 @@ var lastActive,
5555
};
5656

5757
$.widget( "ui.button", {
58-
version: "1.11.1",
58+
version: "1.11.2",
5959
defaultElement: "<button>",
6060
options: {
6161
disabled: null,
@@ -351,7 +351,7 @@ $.widget( "ui.button", {
351351
});
352352

353353
$.widget( "ui.buttonset", {
354-
version: "1.11.1",
354+
version: "1.11.2",
355355
options: {
356356
items: "button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(ui-button)"
357357
},

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* jQuery UI Core 1.11.1
2+
* jQuery UI Core 1.11.2
33
* http://jqueryui.com
44
*
55
* Copyright 2014 jQuery Foundation and other contributors
@@ -24,7 +24,7 @@
2424
$.ui = $.ui || {};
2525

2626
$.extend( $.ui, {
27-
version: "1.11.1",
27+
version: "1.11.2",
2828

2929
keyCode: {
3030
BACKSPACE: 8,

app/assets/javascripts/jquery-ui/datepicker-el.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ datepicker.regional['el'] = {
1616
closeText: 'Κλείσιμο',
1717
prevText: 'Προηγούμενος',
1818
nextText: 'Επόμενος',
19-
currentText: 'Τρέχων Μήνας',
19+
currentText: 'Σήμερα',
2020
monthNames: ['Ιανουάριος','Φεβρουάριος','Μάρτιος','Απρίλιος','Μάιος','Ιούνιος',
2121
'Ιούλιος','Αύγουστος','Σεπτέμβριος','Οκτώβριος','Νοέμβριος','Δεκέμβριος'],
2222
monthNamesShort: ['Ιαν','Φεβ','Μαρ','Απρ','Μαι','Ιουν',

app/assets/javascripts/jquery-ui/datepicker-fa.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@ datepicker.regional['fa'] = {
1919
nextText: 'بعدی&#x3E;',
2020
currentText: 'امروز',
2121
monthNames: [
22-
'فروردين',
23-
'ارديبهشت',
24-
'خرداد',
25-
'تير',
26-
'مرداد',
27-
'شهريور',
28-
'مهر',
29-
'آبان',
30-
'آذر',
31-
'دی',
32-
'بهمن',
33-
'اسفند'
22+
'ژانویه',
23+
'فوریه',
24+
'مارس',
25+
'آوریل',
26+
'مه',
27+
'ژوئن',
28+
'ژوئیه',
29+
'اوت',
30+
'سپتامبر',
31+
'اکتبر',
32+
'نوامبر',
33+
'دسامبر'
3434
],
3535
monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'],
3636
dayNames: [

app/assets/javascripts/jquery-ui/datepicker-fr.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ datepicker.regional['fr'] = {
2121
currentText: 'Aujourd\'hui',
2222
monthNames: ['janvier', 'février', 'mars', 'avril', 'mai', 'juin',
2323
'juillet', 'août', 'septembre', 'octobre', 'novembre', 'décembre'],
24-
monthNamesShort: ['janv.', 'févr.', 'mars', 'avril', 'mai', 'juin',
24+
monthNamesShort: ['janv.', 'févr.', 'mars', 'avr.', 'mai', 'juin',
2525
'juil.', 'août', 'sept.', 'oct.', 'nov.', 'déc.'],
2626
dayNames: ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'],
2727
dayNamesShort: ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'],

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//= require jquery-ui/core
22

33
/*!
4-
* jQuery UI Datepicker 1.11.1
4+
* jQuery UI Datepicker 1.11.2
55
* http://jqueryui.com
66
*
77
* Copyright 2014 jQuery Foundation and other contributors
@@ -25,7 +25,7 @@
2525
}
2626
}(function( $ ) {
2727

28-
$.extend($.ui, { datepicker: { version: "1.11.1" } });
28+
$.extend($.ui, { datepicker: { version: "1.11.2" } });
2929

3030
var datepicker_instActive;
3131

@@ -2075,7 +2075,7 @@ $.fn.datepicker = function(options){
20752075
$.datepicker = new Datepicker(); // singleton instance
20762076
$.datepicker.initialized = false;
20772077
$.datepicker.uuid = new Date().getTime();
2078-
$.datepicker.version = "1.11.1";
2078+
$.datepicker.version = "1.11.2";
20792079

20802080
return $.datepicker;
20812081

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//= require jquery-ui/resizable
77

88
/*!
9-
* jQuery UI Dialog 1.11.1
9+
* jQuery UI Dialog 1.11.2
1010
* http://jqueryui.com
1111
*
1212
* Copyright 2014 jQuery Foundation and other contributors
@@ -37,7 +37,7 @@
3737
}(function( $ ) {
3838

3939
return $.widget( "ui.dialog", {
40-
version: "1.11.1",
40+
version: "1.11.2",
4141
options: {
4242
appendTo: "body",
4343
autoOpen: true,

0 commit comments

Comments
 (0)