jquery-ui-rails 4.2.1 → 5.0.0

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 (217) hide show
  1. data/History.md +6 -0
  2. data/README.md +69 -73
  3. data/Rakefile +28 -24
  4. data/VERSIONS.md +1 -0
  5. data/app/assets/javascripts/jquery-ui.js +37 -0
  6. data/app/assets/javascripts/{jquery.ui.accordion.js → jquery-ui/accordion.js} +62 -57
  7. data/app/assets/javascripts/{jquery.ui.autocomplete.js → jquery-ui/autocomplete.js} +70 -50
  8. data/app/assets/javascripts/{jquery.ui.button.js → jquery-ui/button.js} +41 -25
  9. data/app/assets/javascripts/{jquery.ui.core.js → jquery-ui/core.js} +106 -123
  10. data/app/assets/javascripts/jquery-ui/datepicker-af.js +37 -0
  11. data/app/assets/javascripts/jquery-ui/datepicker-ar-DZ.js +37 -0
  12. data/app/assets/javascripts/jquery-ui/datepicker-ar.js +37 -0
  13. data/app/assets/javascripts/jquery-ui/datepicker-az.js +37 -0
  14. data/app/assets/javascripts/jquery-ui/datepicker-be.js +37 -0
  15. data/app/assets/javascripts/jquery-ui/datepicker-bg.js +38 -0
  16. data/app/assets/javascripts/jquery-ui/datepicker-bs.js +37 -0
  17. data/app/assets/javascripts/jquery-ui/datepicker-ca.js +37 -0
  18. data/app/assets/javascripts/jquery-ui/datepicker-cs.js +37 -0
  19. data/app/assets/javascripts/jquery-ui/datepicker-cy-GB.js +37 -0
  20. data/app/assets/javascripts/jquery-ui/datepicker-da.js +37 -0
  21. data/app/assets/javascripts/jquery-ui/datepicker-de.js +37 -0
  22. data/app/assets/javascripts/jquery-ui/datepicker-el.js +37 -0
  23. data/app/assets/javascripts/jquery-ui/datepicker-en-AU.js +37 -0
  24. data/app/assets/javascripts/jquery-ui/datepicker-en-GB.js +37 -0
  25. data/app/assets/javascripts/jquery-ui/datepicker-en-NZ.js +37 -0
  26. data/app/assets/javascripts/jquery-ui/datepicker-eo.js +37 -0
  27. data/app/assets/javascripts/jquery-ui/datepicker-es.js +37 -0
  28. data/app/assets/javascripts/jquery-ui/datepicker-et.js +37 -0
  29. data/app/assets/javascripts/jquery-ui/datepicker-eu.js +36 -0
  30. data/app/assets/javascripts/jquery-ui/datepicker-fa.js +73 -0
  31. data/app/assets/javascripts/jquery-ui/datepicker-fi.js +37 -0
  32. data/app/assets/javascripts/jquery-ui/datepicker-fo.js +37 -0
  33. data/app/assets/javascripts/jquery-ui/datepicker-fr-CA.js +37 -0
  34. data/app/assets/javascripts/jquery-ui/datepicker-fr-CH.js +37 -0
  35. data/app/assets/javascripts/jquery-ui/datepicker-fr.js +39 -0
  36. data/app/assets/javascripts/jquery-ui/datepicker-gl.js +37 -0
  37. data/app/assets/javascripts/jquery-ui/datepicker-he.js +37 -0
  38. data/app/assets/javascripts/jquery-ui/datepicker-hi.js +37 -0
  39. data/app/assets/javascripts/jquery-ui/datepicker-hr.js +37 -0
  40. data/app/assets/javascripts/jquery-ui/datepicker-hu.js +36 -0
  41. data/app/assets/javascripts/jquery-ui/datepicker-hy.js +37 -0
  42. data/app/assets/javascripts/jquery-ui/datepicker-id.js +37 -0
  43. data/app/assets/javascripts/jquery-ui/datepicker-is.js +37 -0
  44. data/app/assets/javascripts/jquery-ui/datepicker-it-CH.js +37 -0
  45. data/app/assets/javascripts/jquery-ui/datepicker-it.js +37 -0
  46. data/app/assets/javascripts/jquery-ui/datepicker-ja.js +37 -0
  47. data/app/assets/javascripts/jquery-ui/datepicker-ka.js +35 -0
  48. data/app/assets/javascripts/jquery-ui/datepicker-kk.js +37 -0
  49. data/app/assets/javascripts/jquery-ui/datepicker-km.js +37 -0
  50. data/app/assets/javascripts/jquery-ui/datepicker-ko.js +37 -0
  51. data/app/assets/javascripts/jquery-ui/datepicker-ky.js +38 -0
  52. data/app/assets/javascripts/jquery-ui/datepicker-lb.js +37 -0
  53. data/app/assets/javascripts/jquery-ui/datepicker-lt.js +37 -0
  54. data/app/assets/javascripts/jquery-ui/datepicker-lv.js +37 -0
  55. data/app/assets/javascripts/jquery-ui/datepicker-mk.js +37 -0
  56. data/app/assets/javascripts/jquery-ui/datepicker-ml.js +37 -0
  57. data/app/assets/javascripts/jquery-ui/datepicker-ms.js +37 -0
  58. data/app/assets/javascripts/jquery-ui/datepicker-nb.js +36 -0
  59. data/app/assets/javascripts/jquery-ui/datepicker-nl-BE.js +37 -0
  60. data/app/assets/javascripts/jquery-ui/datepicker-nl.js +37 -0
  61. data/app/assets/javascripts/jquery-ui/datepicker-nn.js +36 -0
  62. data/app/assets/javascripts/jquery-ui/datepicker-no.js +37 -0
  63. data/app/assets/javascripts/jquery-ui/datepicker-pl.js +37 -0
  64. data/app/assets/javascripts/jquery-ui/datepicker-pt-BR.js +37 -0
  65. data/app/assets/javascripts/jquery-ui/datepicker-pt.js +36 -0
  66. data/app/assets/javascripts/jquery-ui/datepicker-rm.js +35 -0
  67. data/app/assets/javascripts/jquery-ui/datepicker-ro.js +40 -0
  68. data/app/assets/javascripts/jquery-ui/datepicker-ru.js +37 -0
  69. data/app/assets/javascripts/jquery-ui/datepicker-sk.js +37 -0
  70. data/app/assets/javascripts/jquery-ui/datepicker-sl.js +38 -0
  71. data/app/assets/javascripts/jquery-ui/datepicker-sq.js +37 -0
  72. data/app/assets/javascripts/jquery-ui/datepicker-sr-SR.js +37 -0
  73. data/app/assets/javascripts/jquery-ui/datepicker-sr.js +37 -0
  74. data/app/assets/javascripts/jquery-ui/datepicker-sv.js +37 -0
  75. data/app/assets/javascripts/jquery-ui/datepicker-ta.js +37 -0
  76. data/app/assets/javascripts/jquery-ui/datepicker-th.js +37 -0
  77. data/app/assets/javascripts/jquery-ui/datepicker-tj.js +37 -0
  78. data/app/assets/javascripts/jquery-ui/datepicker-tr.js +37 -0
  79. data/app/assets/javascripts/jquery-ui/datepicker-uk.js +38 -0
  80. data/app/assets/javascripts/jquery-ui/datepicker-vi.js +37 -0
  81. data/app/assets/javascripts/jquery-ui/datepicker-zh-CN.js +37 -0
  82. data/app/assets/javascripts/jquery-ui/datepicker-zh-HK.js +37 -0
  83. data/app/assets/javascripts/jquery-ui/datepicker-zh-TW.js +37 -0
  84. data/app/assets/javascripts/{jquery.ui.datepicker.js → jquery-ui/datepicker.js} +72 -37
  85. data/app/assets/javascripts/{jquery.ui.dialog.js → jquery-ui/dialog.js} +215 -180
  86. data/app/assets/javascripts/{jquery.ui.draggable.js → jquery-ui/draggable.js} +219 -161
  87. data/app/assets/javascripts/jquery-ui/droppable.js +421 -0
  88. data/app/assets/javascripts/{jquery.ui.effect-blind.js → jquery-ui/effect-blind.js} +20 -12
  89. data/app/assets/javascripts/{jquery.ui.effect-bounce.js → jquery-ui/effect-bounce.js} +18 -8
  90. data/app/assets/javascripts/{jquery.ui.effect-clip.js → jquery-ui/effect-clip.js} +18 -8
  91. data/app/assets/javascripts/{jquery.ui.effect-drop.js → jquery-ui/effect-drop.js} +18 -8
  92. data/app/assets/javascripts/{jquery.ui.effect-explode.js → jquery-ui/effect-explode.js} +20 -10
  93. data/app/assets/javascripts/{jquery.ui.effect-fade.js → jquery-ui/effect-fade.js} +18 -8
  94. data/app/assets/javascripts/{jquery.ui.effect-fold.js → jquery-ui/effect-fold.js} +18 -8
  95. data/app/assets/javascripts/{jquery.ui.effect-highlight.js → jquery-ui/effect-highlight.js} +18 -8
  96. data/app/assets/javascripts/jquery-ui/effect-puff.js +63 -0
  97. data/app/assets/javascripts/{jquery.ui.effect-pulsate.js → jquery-ui/effect-pulsate.js} +18 -8
  98. data/app/assets/javascripts/jquery-ui/effect-scale.js +92 -0
  99. data/app/assets/javascripts/{jquery.ui.effect-shake.js → jquery-ui/effect-shake.js} +19 -9
  100. data/app/assets/javascripts/{jquery.ui.effect-scale.js → jquery-ui/effect-size.js} +19 -104
  101. data/app/assets/javascripts/{jquery.ui.effect-slide.js → jquery-ui/effect-slide.js} +18 -8
  102. data/app/assets/javascripts/{jquery.ui.effect-transfer.js → jquery-ui/effect-transfer.js} +22 -12
  103. data/app/assets/javascripts/jquery-ui/effect.all.js +16 -0
  104. data/app/assets/javascripts/{jquery.ui.effect.js → jquery-ui/effect.js} +28 -20
  105. data/app/assets/javascripts/{jquery.ui.menu.js → jquery-ui/menu.js} +93 -80
  106. data/app/assets/javascripts/{jquery.ui.mouse.js → jquery-ui/mouse.js} +41 -23
  107. data/app/assets/javascripts/{jquery.ui.position.js → jquery-ui/position.js} +25 -12
  108. data/app/assets/javascripts/{jquery.ui.progressbar.js → jquery-ui/progressbar.js} +26 -12
  109. data/app/assets/javascripts/{jquery.ui.resizable.js → jquery-ui/resizable.js} +196 -146
  110. data/app/assets/javascripts/{jquery.ui.selectable.js → jquery-ui/selectable.js} +25 -15
  111. data/app/assets/javascripts/jquery-ui/selectmenu.js +560 -0
  112. data/app/assets/javascripts/{jquery.ui.slider.js → jquery-ui/slider.js} +43 -31
  113. data/app/assets/javascripts/{jquery.ui.sortable.js → jquery-ui/sortable.js} +71 -50
  114. data/app/assets/javascripts/{jquery.ui.spinner.js → jquery-ui/spinner.js} +46 -29
  115. data/app/assets/javascripts/{jquery.ui.tabs.js → jquery-ui/tabs.js} +69 -52
  116. data/app/assets/javascripts/{jquery.ui.tooltip.js → jquery-ui/tooltip.js} +97 -55
  117. data/app/assets/javascripts/{jquery.ui.widget.js → jquery-ui/widget.js} +52 -30
  118. data/app/assets/stylesheets/jquery-ui.css +1 -0
  119. data/app/assets/stylesheets/{jquery.ui.accordion.css.erb → jquery-ui/accordion.css.erb} +5 -7
  120. data/app/assets/stylesheets/{jquery.ui.all.css.erb → jquery-ui/all.css.erb} +3 -3
  121. data/app/assets/stylesheets/{jquery.ui.autocomplete.css.erb → jquery-ui/autocomplete.css.erb} +4 -4
  122. data/app/assets/stylesheets/jquery-ui/base.css.erb +30 -0
  123. data/app/assets/stylesheets/{jquery.ui.button.css.erb → jquery-ui/button.css.erb} +3 -3
  124. data/app/assets/stylesheets/{jquery.ui.core.css.erb → jquery-ui/core.css.erb} +4 -1
  125. data/app/assets/stylesheets/{jquery.ui.datepicker.css.erb → jquery-ui/datepicker.css.erb} +3 -3
  126. data/app/assets/stylesheets/{jquery.ui.dialog.css.erb → jquery-ui/dialog.css.erb} +6 -5
  127. data/app/assets/stylesheets/jquery-ui/draggable.css.erb +16 -0
  128. data/app/assets/stylesheets/{jquery.ui.menu.css.erb → jquery-ui/menu.css.erb} +18 -34
  129. data/app/assets/stylesheets/{jquery.ui.progressbar.css.erb → jquery-ui/progressbar.css.erb} +3 -3
  130. data/app/assets/stylesheets/{jquery.ui.resizable.css.erb → jquery-ui/resizable.css.erb} +5 -3
  131. data/app/assets/stylesheets/{jquery.ui.selectable.css.erb → jquery-ui/selectable.css.erb} +7 -3
  132. data/app/assets/stylesheets/jquery-ui/selectmenu.css.erb +64 -0
  133. data/app/assets/stylesheets/{jquery.ui.slider.css.erb → jquery-ui/slider.css.erb} +5 -3
  134. data/app/assets/stylesheets/jquery-ui/sortable.css.erb +16 -0
  135. data/app/assets/stylesheets/{jquery.ui.spinner.css.erb → jquery-ui/spinner.css.erb} +4 -4
  136. data/app/assets/stylesheets/{jquery.ui.tabs.css.erb → jquery-ui/tabs.css.erb} +3 -3
  137. data/app/assets/stylesheets/{jquery.ui.theme.css.erb → jquery-ui/theme.css.erb} +1 -4
  138. data/app/assets/stylesheets/{jquery.ui.tooltip.css.erb → jquery-ui/tooltip.css.erb} +3 -3
  139. data/lib/jquery/ui/rails/version.rb +2 -2
  140. metadata +137 -129
  141. data/app/assets/javascripts/jquery.ui.all.js +0 -34
  142. data/app/assets/javascripts/jquery.ui.datepicker-af.js +0 -23
  143. data/app/assets/javascripts/jquery.ui.datepicker-ar-DZ.js +0 -23
  144. data/app/assets/javascripts/jquery.ui.datepicker-ar.js +0 -23
  145. data/app/assets/javascripts/jquery.ui.datepicker-az.js +0 -23
  146. data/app/assets/javascripts/jquery.ui.datepicker-be.js +0 -23
  147. data/app/assets/javascripts/jquery.ui.datepicker-bg.js +0 -24
  148. data/app/assets/javascripts/jquery.ui.datepicker-bs.js +0 -23
  149. data/app/assets/javascripts/jquery.ui.datepicker-ca.js +0 -23
  150. data/app/assets/javascripts/jquery.ui.datepicker-cs.js +0 -23
  151. data/app/assets/javascripts/jquery.ui.datepicker-cy-GB.js +0 -23
  152. data/app/assets/javascripts/jquery.ui.datepicker-da.js +0 -23
  153. data/app/assets/javascripts/jquery.ui.datepicker-de.js +0 -23
  154. data/app/assets/javascripts/jquery.ui.datepicker-el.js +0 -23
  155. data/app/assets/javascripts/jquery.ui.datepicker-en-AU.js +0 -23
  156. data/app/assets/javascripts/jquery.ui.datepicker-en-GB.js +0 -23
  157. data/app/assets/javascripts/jquery.ui.datepicker-en-NZ.js +0 -23
  158. data/app/assets/javascripts/jquery.ui.datepicker-eo.js +0 -23
  159. data/app/assets/javascripts/jquery.ui.datepicker-es.js +0 -23
  160. data/app/assets/javascripts/jquery.ui.datepicker-et.js +0 -23
  161. data/app/assets/javascripts/jquery.ui.datepicker-eu.js +0 -23
  162. data/app/assets/javascripts/jquery.ui.datepicker-fa.js +0 -59
  163. data/app/assets/javascripts/jquery.ui.datepicker-fi.js +0 -23
  164. data/app/assets/javascripts/jquery.ui.datepicker-fo.js +0 -23
  165. data/app/assets/javascripts/jquery.ui.datepicker-fr-CA.js +0 -23
  166. data/app/assets/javascripts/jquery.ui.datepicker-fr-CH.js +0 -23
  167. data/app/assets/javascripts/jquery.ui.datepicker-fr.js +0 -25
  168. data/app/assets/javascripts/jquery.ui.datepicker-gl.js +0 -23
  169. data/app/assets/javascripts/jquery.ui.datepicker-he.js +0 -23
  170. data/app/assets/javascripts/jquery.ui.datepicker-hi.js +0 -23
  171. data/app/assets/javascripts/jquery.ui.datepicker-hr.js +0 -23
  172. data/app/assets/javascripts/jquery.ui.datepicker-hu.js +0 -23
  173. data/app/assets/javascripts/jquery.ui.datepicker-hy.js +0 -23
  174. data/app/assets/javascripts/jquery.ui.datepicker-id.js +0 -23
  175. data/app/assets/javascripts/jquery.ui.datepicker-is.js +0 -23
  176. data/app/assets/javascripts/jquery.ui.datepicker-it.js +0 -23
  177. data/app/assets/javascripts/jquery.ui.datepicker-ja.js +0 -23
  178. data/app/assets/javascripts/jquery.ui.datepicker-ka.js +0 -21
  179. data/app/assets/javascripts/jquery.ui.datepicker-kk.js +0 -23
  180. data/app/assets/javascripts/jquery.ui.datepicker-km.js +0 -23
  181. data/app/assets/javascripts/jquery.ui.datepicker-ko.js +0 -23
  182. data/app/assets/javascripts/jquery.ui.datepicker-ky.js +0 -24
  183. data/app/assets/javascripts/jquery.ui.datepicker-lb.js +0 -23
  184. data/app/assets/javascripts/jquery.ui.datepicker-lt.js +0 -23
  185. data/app/assets/javascripts/jquery.ui.datepicker-lv.js +0 -23
  186. data/app/assets/javascripts/jquery.ui.datepicker-mk.js +0 -23
  187. data/app/assets/javascripts/jquery.ui.datepicker-ml.js +0 -23
  188. data/app/assets/javascripts/jquery.ui.datepicker-ms.js +0 -23
  189. data/app/assets/javascripts/jquery.ui.datepicker-nb.js +0 -22
  190. data/app/assets/javascripts/jquery.ui.datepicker-nl-BE.js +0 -23
  191. data/app/assets/javascripts/jquery.ui.datepicker-nl.js +0 -23
  192. data/app/assets/javascripts/jquery.ui.datepicker-nn.js +0 -22
  193. data/app/assets/javascripts/jquery.ui.datepicker-no.js +0 -23
  194. data/app/assets/javascripts/jquery.ui.datepicker-pl.js +0 -23
  195. data/app/assets/javascripts/jquery.ui.datepicker-pt-BR.js +0 -23
  196. data/app/assets/javascripts/jquery.ui.datepicker-pt.js +0 -22
  197. data/app/assets/javascripts/jquery.ui.datepicker-rm.js +0 -21
  198. data/app/assets/javascripts/jquery.ui.datepicker-ro.js +0 -26
  199. data/app/assets/javascripts/jquery.ui.datepicker-ru.js +0 -23
  200. data/app/assets/javascripts/jquery.ui.datepicker-sk.js +0 -23
  201. data/app/assets/javascripts/jquery.ui.datepicker-sl.js +0 -24
  202. data/app/assets/javascripts/jquery.ui.datepicker-sq.js +0 -23
  203. data/app/assets/javascripts/jquery.ui.datepicker-sr-SR.js +0 -23
  204. data/app/assets/javascripts/jquery.ui.datepicker-sr.js +0 -23
  205. data/app/assets/javascripts/jquery.ui.datepicker-sv.js +0 -23
  206. data/app/assets/javascripts/jquery.ui.datepicker-ta.js +0 -23
  207. data/app/assets/javascripts/jquery.ui.datepicker-th.js +0 -23
  208. data/app/assets/javascripts/jquery.ui.datepicker-tj.js +0 -23
  209. data/app/assets/javascripts/jquery.ui.datepicker-tr.js +0 -23
  210. data/app/assets/javascripts/jquery.ui.datepicker-uk.js +0 -24
  211. data/app/assets/javascripts/jquery.ui.datepicker-vi.js +0 -23
  212. data/app/assets/javascripts/jquery.ui.datepicker-zh-CN.js +0 -23
  213. data/app/assets/javascripts/jquery.ui.datepicker-zh-HK.js +0 -23
  214. data/app/assets/javascripts/jquery.ui.datepicker-zh-TW.js +0 -23
  215. data/app/assets/javascripts/jquery.ui.droppable.js +0 -394
  216. data/app/assets/javascripts/jquery.ui.effect.all.js +0 -14
  217. data/app/assets/stylesheets/jquery.ui.base.css.erb +0 -27
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Widget 1.10.4
2
+ * jQuery UI Widget 1.11.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright 2014 jQuery Foundation and other contributors
@@ -8,20 +8,32 @@
8
8
  *
9
9
  * http://api.jqueryui.com/jQuery.widget/
10
10
  */
11
- (function( $, undefined ) {
12
-
13
- var uuid = 0,
14
- slice = Array.prototype.slice,
15
- _cleanData = $.cleanData;
16
- $.cleanData = function( elems ) {
17
- for ( var i = 0, elem; (elem = elems[i]) != null; i++ ) {
18
- try {
19
- $( elem ).triggerHandler( "remove" );
20
- // http://bugs.jquery.com/ticket/8235
21
- } catch( e ) {}
11
+ (function( factory ) {
12
+ if ( typeof define === "function" && define.amd ) {
13
+
14
+ // AMD. Register as an anonymous module.
15
+ define( [ "jquery" ], factory );
16
+ } else {
17
+
18
+ // Browser globals
19
+ factory( jQuery );
22
20
  }
23
- _cleanData( elems );
24
- };
21
+ }(function( $ ) {
22
+
23
+ var widget_uuid = 0,
24
+ widget_slice = Array.prototype.slice;
25
+
26
+ $.cleanData = (function( orig ) {
27
+ return function( elems ) {
28
+ for ( var i = 0, elem; (elem = elems[i]) != null; i++ ) {
29
+ try {
30
+ $( elem ).triggerHandler( "remove" );
31
+ // http://bugs.jquery.com/ticket/8235
32
+ } catch( e ) {}
33
+ }
34
+ orig( elems );
35
+ };
36
+ })( $.cleanData );
25
37
 
26
38
  $.widget = function( name, base, prototype ) {
27
39
  var fullName, existingConstructor, constructor, basePrototype,
@@ -134,10 +146,12 @@ $.widget = function( name, base, prototype ) {
134
146
  }
135
147
 
136
148
  $.widget.bridge( name, constructor );
149
+
150
+ return constructor;
137
151
  };
138
152
 
139
153
  $.widget.extend = function( target ) {
140
- var input = slice.call( arguments, 1 ),
154
+ var input = widget_slice.call( arguments, 1 ),
141
155
  inputIndex = 0,
142
156
  inputLength = input.length,
143
157
  key,
@@ -166,7 +180,7 @@ $.widget.bridge = function( name, object ) {
166
180
  var fullName = object.prototype.widgetFullName || name;
167
181
  $.fn[ name ] = function( options ) {
168
182
  var isMethodCall = typeof options === "string",
169
- args = slice.call( arguments, 1 ),
183
+ args = widget_slice.call( arguments, 1 ),
170
184
  returnValue = this;
171
185
 
172
186
  // allow multiple hashes to be passed on init
@@ -178,6 +192,10 @@ $.widget.bridge = function( name, object ) {
178
192
  this.each(function() {
179
193
  var methodValue,
180
194
  instance = $.data( this, fullName );
195
+ if ( options === "instance" ) {
196
+ returnValue = instance;
197
+ return false;
198
+ }
181
199
  if ( !instance ) {
182
200
  return $.error( "cannot call methods on " + name + " prior to initialization; " +
183
201
  "attempted to call method '" + options + "'" );
@@ -197,7 +215,10 @@ $.widget.bridge = function( name, object ) {
197
215
  this.each(function() {
198
216
  var instance = $.data( this, fullName );
199
217
  if ( instance ) {
200
- instance.option( options || {} )._init();
218
+ instance.option( options || {} );
219
+ if ( instance._init ) {
220
+ instance._init();
221
+ }
201
222
  } else {
202
223
  $.data( this, fullName, new object( options, this ) );
203
224
  }
@@ -224,7 +245,7 @@ $.Widget.prototype = {
224
245
  _createWidget: function( options, element ) {
225
246
  element = $( element || this.defaultElement || this )[ 0 ];
226
247
  this.element = $( element );
227
- this.uuid = uuid++;
248
+ this.uuid = widget_uuid++;
228
249
  this.eventNamespace = "." + this.widgetName + this.uuid;
229
250
  this.options = $.widget.extend( {},
230
251
  this.options,
@@ -267,9 +288,6 @@ $.Widget.prototype = {
267
288
  // all event bindings should go through this._on()
268
289
  this.element
269
290
  .unbind( this.eventNamespace )
270
- // 1.9 BC for #7810
271
- // TODO remove dual storage
272
- .removeData( this.widgetName )
273
291
  .removeData( this.widgetFullName )
274
292
  // support: jquery <1.6.3
275
293
  // http://bugs.jquery.com/ticket/9413
@@ -345,20 +363,23 @@ $.Widget.prototype = {
345
363
 
346
364
  if ( key === "disabled" ) {
347
365
  this.widget()
348
- .toggleClass( this.widgetFullName + "-disabled ui-state-disabled", !!value )
349
- .attr( "aria-disabled", value );
350
- this.hoverable.removeClass( "ui-state-hover" );
351
- this.focusable.removeClass( "ui-state-focus" );
366
+ .toggleClass( this.widgetFullName + "-disabled", !!value );
367
+
368
+ // If the widget is becoming disabled, then nothing is interactive
369
+ if ( value ) {
370
+ this.hoverable.removeClass( "ui-state-hover" );
371
+ this.focusable.removeClass( "ui-state-focus" );
372
+ }
352
373
  }
353
374
 
354
375
  return this;
355
376
  },
356
377
 
357
378
  enable: function() {
358
- return this._setOption( "disabled", false );
379
+ return this._setOptions({ disabled: false });
359
380
  },
360
381
  disable: function() {
361
- return this._setOption( "disabled", true );
382
+ return this._setOptions({ disabled: true });
362
383
  },
363
384
 
364
385
  _on: function( suppressDisabledCheck, element, handlers ) {
@@ -378,7 +399,6 @@ $.Widget.prototype = {
378
399
  element = this.element;
379
400
  delegateElement = this.widget();
380
401
  } else {
381
- // accept selectors, DOM elements
382
402
  element = delegateElement = $( element );
383
403
  this.bindings = this.bindings.add( element );
384
404
  }
@@ -403,7 +423,7 @@ $.Widget.prototype = {
403
423
  handler.guid || handlerProxy.guid || $.guid++;
404
424
  }
405
425
 
406
- var match = event.match( /^(\w+)\s*(.*)$/ ),
426
+ var match = event.match( /^([\w:-]*)\s*(.*)$/ ),
407
427
  eventName = match[1] + instance.eventNamespace,
408
428
  selector = match[2];
409
429
  if ( selector ) {
@@ -518,4 +538,6 @@ $.each( { show: "fadeIn", hide: "fadeOut" }, function( method, defaultEffect ) {
518
538
  };
519
539
  });
520
540
 
521
- })( jQuery );
541
+ return $.widget;
542
+
543
+ }));
@@ -0,0 +1 @@
1
+ //= require jquery-ui/all
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Accordion 1.10.4
2
+ * jQuery UI Accordion 1.11.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright 2014 jQuery Foundation and other contributors
@@ -9,23 +9,21 @@
9
9
  * http://api.jqueryui.com/accordion/#theming
10
10
  */
11
11
  /*
12
- *= require jquery.ui.core
13
- *= require jquery.ui.theme
12
+ *= require jquery-ui/core
13
+ *= require jquery-ui/theme
14
14
  */
15
15
  .ui-accordion .ui-accordion-header {
16
16
  display: block;
17
17
  cursor: pointer;
18
18
  position: relative;
19
- margin-top: 2px;
19
+ margin: 2px 0 0 0;
20
20
  padding: .5em .5em .5em .7em;
21
21
  min-height: 0; /* support: IE7 */
22
+ font-size: 100%;
22
23
  }
23
24
  .ui-accordion .ui-accordion-icons {
24
25
  padding-left: 2.2em;
25
26
  }
26
- .ui-accordion .ui-accordion-noicons {
27
- padding-left: .7em;
28
- }
29
27
  .ui-accordion .ui-accordion-icons .ui-accordion-icons {
30
28
  padding-left: 2.2em;
31
29
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI CSS Framework 1.10.4
2
+ * jQuery UI CSS Framework 1.11.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright 2014 jQuery Foundation and other contributors
@@ -9,6 +9,6 @@
9
9
  * http://api.jqueryui.com/category/theming/
10
10
  */
11
11
  /*
12
- *= require jquery.ui.base
13
- *= require jquery.ui.theme
12
+ *= require jquery-ui/base
13
+ *= require jquery-ui/theme
14
14
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Autocomplete 1.10.4
2
+ * jQuery UI Autocomplete 1.11.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright 2014 jQuery Foundation and other contributors
@@ -9,9 +9,9 @@
9
9
  * http://api.jqueryui.com/autocomplete/#theming
10
10
  */
11
11
  /*
12
- *= require jquery.ui.core
13
- *= require jquery.ui.menu
14
- *= require jquery.ui.theme
12
+ *= require jquery-ui/core
13
+ *= require jquery-ui/menu
14
+ *= require jquery-ui/theme
15
15
  */
16
16
  .ui-autocomplete {
17
17
  position: absolute;
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * jQuery UI CSS Framework 1.11.0
3
+ * http://jqueryui.com
4
+ *
5
+ * Copyright 2014 jQuery Foundation and other contributors
6
+ * Released under the MIT license.
7
+ * http://jquery.org/license
8
+ *
9
+ * http://api.jqueryui.com/category/theming/
10
+ */
11
+ /*
12
+ *= require jquery-ui/core
13
+
14
+ *= require jquery-ui/accordion
15
+ *= require jquery-ui/autocomplete
16
+ *= require jquery-ui/button
17
+ *= require jquery-ui/datepicker
18
+ *= require jquery-ui/dialog
19
+ *= require jquery-ui/draggable
20
+ *= require jquery-ui/menu
21
+ *= require jquery-ui/progressbar
22
+ *= require jquery-ui/resizable
23
+ *= require jquery-ui/selectable
24
+ *= require jquery-ui/selectmenu
25
+ *= require jquery-ui/sortable
26
+ *= require jquery-ui/slider
27
+ *= require jquery-ui/spinner
28
+ *= require jquery-ui/tabs
29
+ *= require jquery-ui/tooltip
30
+ */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Button 1.10.4
2
+ * jQuery UI Button 1.11.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright 2014 jQuery Foundation and other contributors
@@ -9,8 +9,8 @@
9
9
  * http://api.jqueryui.com/button/#theming
10
10
  */
11
11
  /*
12
- *= require jquery.ui.core
13
- *= require jquery.ui.theme
12
+ *= require jquery-ui/core
13
+ *= require jquery-ui/theme
14
14
  */
15
15
  .ui-button {
16
16
  display: inline-block;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI CSS Framework 1.10.4
2
+ * jQuery UI CSS Framework 1.11.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright 2014 jQuery Foundation and other contributors
@@ -8,6 +8,9 @@
8
8
  *
9
9
  * http://api.jqueryui.com/category/theming/
10
10
  */
11
+ /*
12
+ *= require jquery-ui/theme
13
+ */
11
14
 
12
15
  /* Layout helpers
13
16
  ----------------------------------*/
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Datepicker 1.10.4
2
+ * jQuery UI Datepicker 1.11.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright 2014 jQuery Foundation and other contributors
@@ -9,8 +9,8 @@
9
9
  * http://api.jqueryui.com/datepicker/#theming
10
10
  */
11
11
  /*
12
- *= require jquery.ui.core
13
- *= require jquery.ui.theme
12
+ *= require jquery-ui/core
13
+ *= require jquery-ui/theme
14
14
  */
15
15
  .ui-datepicker {
16
16
  width: 17em;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Dialog 1.10.4
2
+ * jQuery UI Dialog 1.11.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright 2014 jQuery Foundation and other contributors
@@ -9,10 +9,11 @@
9
9
  * http://api.jqueryui.com/dialog/#theming
10
10
  */
11
11
  /*
12
- *= require jquery.ui.core
13
- *= require jquery.ui.button
14
- *= require jquery.ui.resizable
15
- *= require jquery.ui.theme
12
+ *= require jquery-ui/core
13
+ *= require jquery-ui/button
14
+ *= require jquery-ui/draggable
15
+ *= require jquery-ui/resizable
16
+ *= require jquery-ui/theme
16
17
  */
17
18
  .ui-dialog {
18
19
  overflow: hidden;
@@ -0,0 +1,16 @@
1
+ /*!
2
+ * jQuery UI Draggable 1.11.0
3
+ * http://jqueryui.com
4
+ *
5
+ * Copyright 2014 jQuery Foundation and other contributors
6
+ * Released under the MIT license.
7
+ * http://jquery.org/license
8
+ */
9
+ /*
10
+ *= require jquery-ui/core
11
+ *= require jquery-ui/theme
12
+ */
13
+ .ui-draggable-handle {
14
+ -ms-touch-action: none;
15
+ touch-action: none;
16
+ }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery UI Menu 1.10.4
2
+ * jQuery UI Menu 1.11.0
3
3
  * http://jqueryui.com
4
4
  *
5
5
  * Copyright 2014 jQuery Foundation and other contributors
@@ -9,75 +9,59 @@
9
9
  * http://api.jqueryui.com/menu/#theming
10
10
  */
11
11
  /*
12
- *= require jquery.ui.core
13
- *= require jquery.ui.theme
12
+ *= require jquery-ui/core
13
+ *= require jquery-ui/theme
14
14
  */
15
15
  .ui-menu {
16
16
  list-style: none;
17
- padding: 2px;
17
+ padding: 0;
18
18
  margin: 0;
19
19
  display: block;
20
20
  outline: none;
21
21
  }
22
22
  .ui-menu .ui-menu {
23
- margin-top: -3px;
24
23
  position: absolute;
25
24
  }
26
25
  .ui-menu .ui-menu-item {
26
+ position: relative;
27
27
  margin: 0;
28
- padding: 0;
29
- width: 100%;
28
+ padding: 3px 1em 3px .4em;
29
+ cursor: pointer;
30
+ min-height: 0; /* support: IE7 */
30
31
  /* support: IE10, see #8844 */
31
- list-style-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
32
+ list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
32
33
  }
33
34
  .ui-menu .ui-menu-divider {
34
- margin: 5px -2px 5px -2px;
35
+ margin: 5px 0;
35
36
  height: 0;
36
37
  font-size: 0;
37
38
  line-height: 0;
38
39
  border-width: 1px 0 0 0;
39
40
  }
40
- .ui-menu .ui-menu-item a {
41
- text-decoration: none;
42
- display: block;
43
- padding: 2px .4em;
44
- line-height: 1.5;
45
- min-height: 0; /* support: IE7 */
46
- font-weight: normal;
47
- }
48
- .ui-menu .ui-menu-item a.ui-state-focus,
49
- .ui-menu .ui-menu-item a.ui-state-active {
50
- font-weight: normal;
41
+ .ui-menu .ui-state-focus,
42
+ .ui-menu .ui-state-active {
51
43
  margin: -1px;
52
44
  }
53
45
 
54
- .ui-menu .ui-state-disabled {
55
- font-weight: normal;
56
- margin: .4em 0 .2em;
57
- line-height: 1.5;
58
- }
59
- .ui-menu .ui-state-disabled a {
60
- cursor: default;
61
- }
62
-
63
46
  /* icon support */
64
47
  .ui-menu-icons {
65
48
  position: relative;
66
49
  }
67
- .ui-menu-icons .ui-menu-item a {
68
- position: relative;
50
+ .ui-menu-icons .ui-menu-item {
69
51
  padding-left: 2em;
70
52
  }
71
53
 
72
54
  /* left-aligned */
73
55
  .ui-menu .ui-icon {
74
56
  position: absolute;
75
- top: .2em;
57
+ top: 0;
58
+ bottom: 0;
76
59
  left: .2em;
60
+ margin: auto 0;
77
61
  }
78
62
 
79
63
  /* right-aligned */
80
64
  .ui-menu .ui-menu-icon {
81
- position: static;
82
- float: right;
65
+ left: auto;
66
+ right: 0;
83
67
  }