jquery-ui-rails 5.0.1 → 5.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of jquery-ui-rails might be problematic. Click here for more details.
- data/History.md +4 -0
- data/VERSIONS.md +1 -0
- data/app/assets/javascripts/jquery-ui/accordion.js +12 -3
- data/app/assets/javascripts/jquery-ui/autocomplete.js +2 -2
- data/app/assets/javascripts/jquery-ui/button.js +3 -3
- data/app/assets/javascripts/jquery-ui/core.js +2 -2
- data/app/assets/javascripts/jquery-ui/datepicker-el.js +1 -1
- data/app/assets/javascripts/jquery-ui/datepicker-fa.js +12 -12
- data/app/assets/javascripts/jquery-ui/datepicker-fr.js +1 -1
- data/app/assets/javascripts/jquery-ui/datepicker.js +3 -3
- data/app/assets/javascripts/jquery-ui/dialog.js +2 -2
- data/app/assets/javascripts/jquery-ui/draggable.js +290 -183
- data/app/assets/javascripts/jquery-ui/droppable.js +4 -4
- data/app/assets/javascripts/jquery-ui/effect-blind.js +1 -1
- data/app/assets/javascripts/jquery-ui/effect-bounce.js +1 -1
- data/app/assets/javascripts/jquery-ui/effect-clip.js +1 -1
- data/app/assets/javascripts/jquery-ui/effect-drop.js +2 -2
- data/app/assets/javascripts/jquery-ui/effect-explode.js +1 -1
- data/app/assets/javascripts/jquery-ui/effect-fade.js +1 -1
- data/app/assets/javascripts/jquery-ui/effect-fold.js +1 -1
- data/app/assets/javascripts/jquery-ui/effect-highlight.js +1 -1
- data/app/assets/javascripts/jquery-ui/effect-puff.js +1 -1
- data/app/assets/javascripts/jquery-ui/effect-pulsate.js +1 -1
- data/app/assets/javascripts/jquery-ui/effect-scale.js +1 -1
- data/app/assets/javascripts/jquery-ui/effect-shake.js +1 -1
- data/app/assets/javascripts/jquery-ui/effect-size.js +1 -1
- data/app/assets/javascripts/jquery-ui/effect-slide.js +1 -1
- data/app/assets/javascripts/jquery-ui/effect-transfer.js +1 -1
- data/app/assets/javascripts/jquery-ui/effect.js +4 -4
- data/app/assets/javascripts/jquery-ui/menu.js +28 -22
- data/app/assets/javascripts/jquery-ui/mouse.js +20 -8
- data/app/assets/javascripts/jquery-ui/position.js +1 -1
- data/app/assets/javascripts/jquery-ui/progressbar.js +2 -2
- data/app/assets/javascripts/jquery-ui/resizable.js +2 -2
- data/app/assets/javascripts/jquery-ui/selectable.js +2 -2
- data/app/assets/javascripts/jquery-ui/selectmenu.js +49 -5
- data/app/assets/javascripts/jquery-ui/slider.js +12 -4
- data/app/assets/javascripts/jquery-ui/sortable.js +12 -18
- data/app/assets/javascripts/jquery-ui/spinner.js +2 -2
- data/app/assets/javascripts/jquery-ui/tabs.js +13 -3
- data/app/assets/javascripts/jquery-ui/tooltip.js +38 -28
- data/app/assets/javascripts/jquery-ui/widget.js +14 -7
- data/app/assets/stylesheets/jquery-ui/accordion.css.erb +1 -1
- data/app/assets/stylesheets/jquery-ui/all.css.erb +1 -1
- data/app/assets/stylesheets/jquery-ui/autocomplete.css.erb +1 -1
- data/app/assets/stylesheets/jquery-ui/base.css.erb +1 -1
- data/app/assets/stylesheets/jquery-ui/button.css.erb +1 -1
- data/app/assets/stylesheets/jquery-ui/core.css.erb +1 -1
- data/app/assets/stylesheets/jquery-ui/datepicker.css.erb +1 -1
- data/app/assets/stylesheets/jquery-ui/dialog.css.erb +1 -1
- data/app/assets/stylesheets/jquery-ui/draggable.css.erb +1 -1
- data/app/assets/stylesheets/jquery-ui/menu.css.erb +1 -1
- data/app/assets/stylesheets/jquery-ui/progressbar.css.erb +1 -1
- data/app/assets/stylesheets/jquery-ui/resizable.css.erb +1 -1
- data/app/assets/stylesheets/jquery-ui/selectable.css.erb +1 -1
- data/app/assets/stylesheets/jquery-ui/selectmenu.css.erb +1 -1
- data/app/assets/stylesheets/jquery-ui/slider.css.erb +1 -1
- data/app/assets/stylesheets/jquery-ui/sortable.css.erb +1 -1
- data/app/assets/stylesheets/jquery-ui/spinner.css.erb +1 -1
- data/app/assets/stylesheets/jquery-ui/tabs.css.erb +1 -1
- data/app/assets/stylesheets/jquery-ui/theme.css.erb +1 -1
- data/app/assets/stylesheets/jquery-ui/tooltip.css.erb +1 -1
- data/lib/jquery/ui/rails/version.rb +2 -2
- metadata +3 -3
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* jQuery UI Widget 1.11.
|
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 + " " ) +
|
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 ) {
|
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.
|
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-
|
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:
|
229
|
+
hash: 859178943120223495
|
230
230
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
231
231
|
none: false
|
232
232
|
requirements:
|