jquery-ui-rails 5.0.1 → 5.0.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of jquery-ui-rails might be problematic. Click here for more details.

Files changed (64) hide show
  1. data/History.md +4 -0
  2. data/VERSIONS.md +1 -0
  3. data/app/assets/javascripts/jquery-ui/accordion.js +12 -3
  4. data/app/assets/javascripts/jquery-ui/autocomplete.js +2 -2
  5. data/app/assets/javascripts/jquery-ui/button.js +3 -3
  6. data/app/assets/javascripts/jquery-ui/core.js +2 -2
  7. data/app/assets/javascripts/jquery-ui/datepicker-el.js +1 -1
  8. data/app/assets/javascripts/jquery-ui/datepicker-fa.js +12 -12
  9. data/app/assets/javascripts/jquery-ui/datepicker-fr.js +1 -1
  10. data/app/assets/javascripts/jquery-ui/datepicker.js +3 -3
  11. data/app/assets/javascripts/jquery-ui/dialog.js +2 -2
  12. data/app/assets/javascripts/jquery-ui/draggable.js +290 -183
  13. data/app/assets/javascripts/jquery-ui/droppable.js +4 -4
  14. data/app/assets/javascripts/jquery-ui/effect-blind.js +1 -1
  15. data/app/assets/javascripts/jquery-ui/effect-bounce.js +1 -1
  16. data/app/assets/javascripts/jquery-ui/effect-clip.js +1 -1
  17. data/app/assets/javascripts/jquery-ui/effect-drop.js +2 -2
  18. data/app/assets/javascripts/jquery-ui/effect-explode.js +1 -1
  19. data/app/assets/javascripts/jquery-ui/effect-fade.js +1 -1
  20. data/app/assets/javascripts/jquery-ui/effect-fold.js +1 -1
  21. data/app/assets/javascripts/jquery-ui/effect-highlight.js +1 -1
  22. data/app/assets/javascripts/jquery-ui/effect-puff.js +1 -1
  23. data/app/assets/javascripts/jquery-ui/effect-pulsate.js +1 -1
  24. data/app/assets/javascripts/jquery-ui/effect-scale.js +1 -1
  25. data/app/assets/javascripts/jquery-ui/effect-shake.js +1 -1
  26. data/app/assets/javascripts/jquery-ui/effect-size.js +1 -1
  27. data/app/assets/javascripts/jquery-ui/effect-slide.js +1 -1
  28. data/app/assets/javascripts/jquery-ui/effect-transfer.js +1 -1
  29. data/app/assets/javascripts/jquery-ui/effect.js +4 -4
  30. data/app/assets/javascripts/jquery-ui/menu.js +28 -22
  31. data/app/assets/javascripts/jquery-ui/mouse.js +20 -8
  32. data/app/assets/javascripts/jquery-ui/position.js +1 -1
  33. data/app/assets/javascripts/jquery-ui/progressbar.js +2 -2
  34. data/app/assets/javascripts/jquery-ui/resizable.js +2 -2
  35. data/app/assets/javascripts/jquery-ui/selectable.js +2 -2
  36. data/app/assets/javascripts/jquery-ui/selectmenu.js +49 -5
  37. data/app/assets/javascripts/jquery-ui/slider.js +12 -4
  38. data/app/assets/javascripts/jquery-ui/sortable.js +12 -18
  39. data/app/assets/javascripts/jquery-ui/spinner.js +2 -2
  40. data/app/assets/javascripts/jquery-ui/tabs.js +13 -3
  41. data/app/assets/javascripts/jquery-ui/tooltip.js +38 -28
  42. data/app/assets/javascripts/jquery-ui/widget.js +14 -7
  43. data/app/assets/stylesheets/jquery-ui/accordion.css.erb +1 -1
  44. data/app/assets/stylesheets/jquery-ui/all.css.erb +1 -1
  45. data/app/assets/stylesheets/jquery-ui/autocomplete.css.erb +1 -1
  46. data/app/assets/stylesheets/jquery-ui/base.css.erb +1 -1
  47. data/app/assets/stylesheets/jquery-ui/button.css.erb +1 -1
  48. data/app/assets/stylesheets/jquery-ui/core.css.erb +1 -1
  49. data/app/assets/stylesheets/jquery-ui/datepicker.css.erb +1 -1
  50. data/app/assets/stylesheets/jquery-ui/dialog.css.erb +1 -1
  51. data/app/assets/stylesheets/jquery-ui/draggable.css.erb +1 -1
  52. data/app/assets/stylesheets/jquery-ui/menu.css.erb +1 -1
  53. data/app/assets/stylesheets/jquery-ui/progressbar.css.erb +1 -1
  54. data/app/assets/stylesheets/jquery-ui/resizable.css.erb +1 -1
  55. data/app/assets/stylesheets/jquery-ui/selectable.css.erb +1 -1
  56. data/app/assets/stylesheets/jquery-ui/selectmenu.css.erb +1 -1
  57. data/app/assets/stylesheets/jquery-ui/slider.css.erb +1 -1
  58. data/app/assets/stylesheets/jquery-ui/sortable.css.erb +1 -1
  59. data/app/assets/stylesheets/jquery-ui/spinner.css.erb +1 -1
  60. data/app/assets/stylesheets/jquery-ui/tabs.css.erb +1 -1
  61. data/app/assets/stylesheets/jquery-ui/theme.css.erb +1 -1
  62. data/app/assets/stylesheets/jquery-ui/tooltip.css.erb +1 -1
  63. data/lib/jquery/ui/rails/version.rb +2 -2
  64. metadata +3 -3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Widget 1.11.1
2
+ * jQuery UI Widget 1.11.2
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright 2014 jQuery Foundation and other contributors
@@ -36,7 +36,7 @@ $.cleanData = (function( orig ) {
36
36
  }
37
37
 
38
38
  // http://bugs.jquery.com/ticket/8235
39
- } catch( e ) {}
39
+ } catch ( e ) {}
40
40
  }
41
41
  orig( elems );
42
42
  };
@@ -254,10 +254,6 @@ $.Widget.prototype = {
254
254
  this.element = $( element );
255
255
  this.uuid = widget_uuid++;
256
256
  this.eventNamespace = "." + this.widgetName + this.uuid;
257
- this.options = $.widget.extend( {},
258
- this.options,
259
- this._getCreateOptions(),
260
- options );
261
257
 
262
258
  this.bindings = $();
263
259
  this.hoverable = $();
@@ -280,6 +276,11 @@ $.Widget.prototype = {
280
276
  this.window = $( this.document[0].defaultView || this.document[0].parentWindow );
281
277
  }
282
278
 
279
+ this.options = $.widget.extend( {},
280
+ this.options,
281
+ this._getCreateOptions(),
282
+ options );
283
+
283
284
  this._create();
284
285
  this._trigger( "create", null, this._getCreateEventData() );
285
286
  this._init();
@@ -442,8 +443,14 @@ $.Widget.prototype = {
442
443
  },
443
444
 
444
445
  _off: function( element, eventName ) {
445
- eventName = (eventName || "").split( " " ).join( this.eventNamespace + " " ) + this.eventNamespace;
446
+ eventName = (eventName || "").split( " " ).join( this.eventNamespace + " " ) +
447
+ this.eventNamespace;
446
448
  element.unbind( eventName ).undelegate( eventName );
449
+
450
+ // Clear the stack to avoid memory leaks (#10056)
451
+ this.bindings = $( this.bindings.not( element ).get() );
452
+ this.focusable = $( this.focusable.not( element ).get() );
453
+ this.hoverable = $( this.hoverable.not( element ).get() );
447
454
  },
448
455
 
449
456
  _delay: function( handler, delay ) {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Accordion 1.11.1
2
+ * jQuery UI Accordion 1.11.2
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright 2014 jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI CSS Framework 1.11.1
2
+ * jQuery UI CSS Framework 1.11.2
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright 2014 jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Autocomplete 1.11.1
2
+ * jQuery UI Autocomplete 1.11.2
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright 2014 jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI CSS Framework 1.11.1
2
+ * jQuery UI CSS Framework 1.11.2
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright 2014 jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Button 1.11.1
2
+ * jQuery UI Button 1.11.2
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright 2014 jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI CSS Framework 1.11.1
2
+ * jQuery UI CSS Framework 1.11.2
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright 2014 jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Datepicker 1.11.1
2
+ * jQuery UI Datepicker 1.11.2
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright 2014 jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Dialog 1.11.1
2
+ * jQuery UI Dialog 1.11.2
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright 2014 jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Draggable 1.11.1
2
+ * jQuery UI Draggable 1.11.2
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright 2014 jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Menu 1.11.1
2
+ * jQuery UI Menu 1.11.2
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright 2014 jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Progressbar 1.11.1
2
+ * jQuery UI Progressbar 1.11.2
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright 2014 jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Resizable 1.11.1
2
+ * jQuery UI Resizable 1.11.2
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright 2014 jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Selectable 1.11.1
2
+ * jQuery UI Selectable 1.11.2
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright 2014 jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Selectmenu 1.11.1
2
+ * jQuery UI Selectmenu 1.11.2
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright 2014 jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Slider 1.11.1
2
+ * jQuery UI Slider 1.11.2
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright 2014 jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Sortable 1.11.1
2
+ * jQuery UI Sortable 1.11.2
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright 2014 jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Spinner 1.11.1
2
+ * jQuery UI Spinner 1.11.2
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright 2014 jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Tabs 1.11.1
2
+ * jQuery UI Tabs 1.11.2
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright 2014 jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI CSS Framework 1.11.1
2
+ * jQuery UI CSS Framework 1.11.2
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright 2014 jQuery Foundation and other contributors
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Tooltip 1.11.1
2
+ * jQuery UI Tooltip 1.11.2
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright 2014 jQuery Foundation and other contributors
@@ -1,8 +1,8 @@
1
1
  module Jquery
2
2
  module Ui
3
3
  module Rails
4
- VERSION = "5.0.1"
5
- JQUERY_UI_VERSION = "1.11.1"
4
+ VERSION = "5.0.2"
5
+ JQUERY_UI_VERSION = "1.11.2"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jquery-ui-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.1
4
+ version: 5.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-10-10 00:00:00.000000000 Z
12
+ date: 2014-10-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -226,7 +226,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
226
226
  version: '0'
227
227
  segments:
228
228
  - 0
229
- hash: -669187353452087060
229
+ hash: 859178943120223495
230
230
  required_rubygems_version: !ruby/object:Gem::Requirement
231
231
  none: false
232
232
  requirements: