jquery-ui-rails 4.0.0 → 5.0.4
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.
- data/.travis.yml +0 -1
- data/Gemfile +1 -1
- data/History.md +62 -0
- data/README.md +86 -74
- data/Rakefile +69 -37
- data/VERSIONS.md +36 -0
- data/{vendor → app}/assets/images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/{vendor → app}/assets/images/jquery-ui/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/{vendor → app}/assets/images/jquery-ui/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/{vendor → app}/assets/images/jquery-ui/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/{vendor → app}/assets/images/jquery-ui/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/{vendor → app}/assets/images/jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/{vendor → app}/assets/images/jquery-ui/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/{vendor → app}/assets/images/jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/{vendor → app}/assets/images/jquery-ui/ui-icons_222222_256x240.png +0 -0
- data/{vendor → app}/assets/images/jquery-ui/ui-icons_2e83ff_256x240.png +0 -0
- data/{vendor → app}/assets/images/jquery-ui/ui-icons_454545_256x240.png +0 -0
- data/{vendor → app}/assets/images/jquery-ui/ui-icons_888888_256x240.png +0 -0
- data/{vendor → app}/assets/images/jquery-ui/ui-icons_cd0a0a_256x240.png +0 -0
- data/{vendor/assets/javascripts/jquery.ui.accordion.js → app/assets/javascripts/jquery-ui/accordion.js} +90 -74
- data/{vendor/assets/javascripts/jquery.ui.autocomplete.js → app/assets/javascripts/jquery-ui/autocomplete.js} +105 -91
- data/{vendor/assets/javascripts/jquery.ui.button.js → app/assets/javascripts/jquery-ui/button.js} +60 -68
- data/{vendor/assets/javascripts/jquery.ui.core.js → app/assets/javascripts/jquery-ui/core.js} +112 -132
- data/app/assets/javascripts/jquery-ui/datepicker-af.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-ar-DZ.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-ar.js +38 -0
- data/app/assets/javascripts/jquery-ui/datepicker-az.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-be.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-bg.js +38 -0
- data/app/assets/javascripts/jquery-ui/datepicker-bs.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-ca.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-cs.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-cy-GB.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-da.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-de.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-el.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-en-AU.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-en-GB.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-en-NZ.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-eo.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-es.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-et.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-eu.js +36 -0
- data/app/assets/javascripts/jquery-ui/datepicker-fa.js +73 -0
- data/app/assets/javascripts/jquery-ui/datepicker-fi.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-fo.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-fr-CA.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-fr-CH.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-fr.js +39 -0
- data/app/assets/javascripts/jquery-ui/datepicker-gl.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-he.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-hi.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-hr.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-hu.js +36 -0
- data/app/assets/javascripts/jquery-ui/datepicker-hy.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-id.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-is.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-it-CH.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-it.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-ja.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-ka.js +35 -0
- data/app/assets/javascripts/jquery-ui/datepicker-kk.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-km.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-ko.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-ky.js +38 -0
- data/app/assets/javascripts/jquery-ui/datepicker-lb.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-lt.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-lv.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-mk.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-ml.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-ms.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-nb.js +36 -0
- data/app/assets/javascripts/jquery-ui/datepicker-nl-BE.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-nl.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-nn.js +36 -0
- data/app/assets/javascripts/jquery-ui/datepicker-no.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-pl.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-pt-BR.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-pt.js +36 -0
- data/app/assets/javascripts/jquery-ui/datepicker-rm.js +35 -0
- data/app/assets/javascripts/jquery-ui/datepicker-ro.js +40 -0
- data/app/assets/javascripts/jquery-ui/datepicker-ru.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-sk.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-sl.js +38 -0
- data/app/assets/javascripts/jquery-ui/datepicker-sq.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-sr-SR.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-sr.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-sv.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-ta.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-th.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-tj.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-tr.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-uk.js +38 -0
- data/app/assets/javascripts/jquery-ui/datepicker-vi.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-zh-CN.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-zh-HK.js +37 -0
- data/app/assets/javascripts/jquery-ui/datepicker-zh-TW.js +37 -0
- data/{vendor/assets/javascripts/jquery.ui.datepicker.js → app/assets/javascripts/jquery-ui/datepicker.js} +120 -80
- data/{vendor/assets/javascripts/jquery.ui.dialog.js → app/assets/javascripts/jquery-ui/dialog.js} +298 -190
- data/app/assets/javascripts/jquery-ui/draggable.js +1132 -0
- data/app/assets/javascripts/jquery-ui/droppable.js +418 -0
- data/{vendor/assets/javascripts/jquery.ui.effect-blind.js → app/assets/javascripts/jquery-ui/effect-blind.js} +21 -13
- data/{vendor/assets/javascripts/jquery.ui.effect-bounce.js → app/assets/javascripts/jquery-ui/effect-bounce.js} +19 -9
- data/{vendor/assets/javascripts/jquery.ui.effect-clip.js → app/assets/javascripts/jquery-ui/effect-clip.js} +19 -9
- data/{vendor/assets/javascripts/jquery.ui.effect-drop.js → app/assets/javascripts/jquery-ui/effect-drop.js} +20 -10
- data/{vendor/assets/javascripts/jquery.ui.effect-explode.js → app/assets/javascripts/jquery-ui/effect-explode.js} +21 -11
- data/app/assets/javascripts/jquery-ui/effect-fade.js +42 -0
- data/{vendor/assets/javascripts/jquery.ui.effect-fold.js → app/assets/javascripts/jquery-ui/effect-fold.js} +19 -9
- data/{vendor/assets/javascripts/jquery.ui.effect-highlight.js → app/assets/javascripts/jquery-ui/effect-highlight.js} +19 -9
- data/app/assets/javascripts/jquery-ui/effect-puff.js +63 -0
- data/{vendor/assets/javascripts/jquery.ui.effect-pulsate.js → app/assets/javascripts/jquery-ui/effect-pulsate.js} +19 -9
- data/app/assets/javascripts/jquery-ui/effect-scale.js +92 -0
- data/{vendor/assets/javascripts/jquery.ui.effect-shake.js → app/assets/javascripts/jquery-ui/effect-shake.js} +20 -10
- data/{vendor/assets/javascripts/jquery.ui.effect-scale.js → app/assets/javascripts/jquery-ui/effect-size.js} +20 -105
- data/{vendor/assets/javascripts/jquery.ui.effect-slide.js → app/assets/javascripts/jquery-ui/effect-slide.js} +19 -9
- data/{vendor/assets/javascripts/jquery.ui.effect-transfer.js → app/assets/javascripts/jquery-ui/effect-transfer.js} +23 -13
- data/app/assets/javascripts/jquery-ui/effect.all.js +16 -0
- data/{vendor/assets/javascripts/jquery.ui.effect.js → app/assets/javascripts/jquery-ui/effect.js} +125 -92
- data/{vendor/assets/javascripts/jquery.ui.menu.js → app/assets/javascripts/jquery-ui/menu.js} +127 -102
- data/{vendor/assets/javascripts/jquery.ui.mouse.js → app/assets/javascripts/jquery-ui/mouse.js} +57 -27
- data/{vendor/assets/javascripts/jquery.ui.position.js → app/assets/javascripts/jquery-ui/position.js} +47 -27
- data/{vendor/assets/javascripts/jquery.ui.progressbar.js → app/assets/javascripts/jquery-ui/progressbar.js} +27 -13
- data/{vendor/assets/javascripts/jquery.ui.resizable.js → app/assets/javascripts/jquery-ui/resizable.js} +454 -243
- data/{vendor/assets/javascripts/jquery.ui.selectable.js → app/assets/javascripts/jquery-ui/selectable.js} +26 -16
- data/app/assets/javascripts/jquery-ui/selectmenu.js +620 -0
- data/{vendor/assets/javascripts/jquery.ui.slider.js → app/assets/javascripts/jquery-ui/slider.js} +159 -91
- data/{vendor/assets/javascripts/jquery.ui.sortable.js → app/assets/javascripts/jquery-ui/sortable.js} +168 -114
- data/{vendor/assets/javascripts/jquery.ui.spinner.js → app/assets/javascripts/jquery-ui/spinner.js} +54 -32
- data/{vendor/assets/javascripts/jquery.ui.tabs.js → app/assets/javascripts/jquery-ui/tabs.js} +108 -73
- data/{vendor/assets/javascripts/jquery.ui.tooltip.js → app/assets/javascripts/jquery-ui/tooltip.js} +134 -75
- data/{vendor/assets/javascripts/jquery.ui.widget.js → app/assets/javascripts/jquery-ui/widget.js} +81 -44
- data/app/assets/javascripts/jquery-ui.js +37 -0
- data/{vendor/assets/stylesheets/jquery.ui.accordion.css.erb → app/assets/stylesheets/jquery-ui/accordion.css} +7 -9
- data/app/assets/stylesheets/jquery-ui/all.css +14 -0
- data/app/assets/stylesheets/jquery-ui/autocomplete.css +21 -0
- data/app/assets/stylesheets/jquery-ui/base.css +30 -0
- data/{vendor/assets/stylesheets/jquery.ui.button.css.erb → app/assets/stylesheets/jquery-ui/button.css} +5 -5
- data/{vendor/assets/stylesheets/jquery.ui.core.css.erb → app/assets/stylesheets/jquery-ui/core.css} +8 -4
- data/{vendor/assets/stylesheets/jquery.ui.datepicker.css.erb → app/assets/stylesheets/jquery-ui/datepicker.css} +6 -9
- data/{vendor/assets/stylesheets/jquery.ui.dialog.css.erb → app/assets/stylesheets/jquery-ui/dialog.css} +10 -8
- data/app/assets/stylesheets/jquery-ui/draggable.css +16 -0
- data/app/assets/stylesheets/jquery-ui/menu.css +67 -0
- data/app/assets/stylesheets/jquery-ui/progressbar.css +32 -0
- data/{vendor/assets/stylesheets/jquery.ui.resizable.css.erb → app/assets/stylesheets/jquery-ui/resizable.css} +6 -6
- data/app/assets/stylesheets/jquery-ui/selectable.css +21 -0
- data/app/assets/stylesheets/jquery-ui/selectmenu.css +64 -0
- data/{vendor/assets/stylesheets/jquery.ui.slider.css.erb → app/assets/stylesheets/jquery-ui/slider.css} +8 -6
- data/app/assets/stylesheets/jquery-ui/sortable.css +16 -0
- data/{vendor/assets/stylesheets/jquery.ui.spinner.css.erb → app/assets/stylesheets/jquery-ui/spinner.css} +8 -8
- data/{vendor/assets/stylesheets/jquery.ui.tabs.css.erb → app/assets/stylesheets/jquery-ui/tabs.css} +11 -12
- data/{vendor/assets/stylesheets/jquery.ui.theme.css.erb → app/assets/stylesheets/jquery-ui/theme.css.erb} +29 -11
- data/{vendor/assets/stylesheets/jquery.ui.tooltip.css.erb → app/assets/stylesheets/jquery-ui/tooltip.css} +6 -4
- data/app/assets/stylesheets/jquery-ui.css +1 -0
- data/lib/jquery/ui/rails/version.rb +2 -1
- metadata +155 -161
- data/vendor/assets/javascripts/jquery.ui.all.js +0 -34
- data/vendor/assets/javascripts/jquery.ui.datepicker-af.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-ar-DZ.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-ar.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-az.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-be.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-bg.js +0 -24
- data/vendor/assets/javascripts/jquery.ui.datepicker-bs.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-ca.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-cs.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-cy-GB.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-da.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-de.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-el.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-en-AU.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-en-GB.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-en-NZ.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-eo.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-es.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-et.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-eu.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-fa.js +0 -59
- data/vendor/assets/javascripts/jquery.ui.datepicker-fi.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-fo.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-fr-CA.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-fr-CH.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-fr.js +0 -25
- data/vendor/assets/javascripts/jquery.ui.datepicker-gl.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-he.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-hi.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-hr.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-hu.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-hy.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-id.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-is.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-it.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-ja.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-ka.js +0 -21
- data/vendor/assets/javascripts/jquery.ui.datepicker-kk.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-km.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-ko.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-ky.js +0 -24
- data/vendor/assets/javascripts/jquery.ui.datepicker-lb.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-lt.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-lv.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-mk.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-ml.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-ms.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-nb.js +0 -22
- data/vendor/assets/javascripts/jquery.ui.datepicker-nl-BE.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-nl.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-nn.js +0 -22
- data/vendor/assets/javascripts/jquery.ui.datepicker-no.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-pl.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-pt-BR.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-pt.js +0 -22
- data/vendor/assets/javascripts/jquery.ui.datepicker-rm.js +0 -21
- data/vendor/assets/javascripts/jquery.ui.datepicker-ro.js +0 -26
- data/vendor/assets/javascripts/jquery.ui.datepicker-ru.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-sk.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-sl.js +0 -24
- data/vendor/assets/javascripts/jquery.ui.datepicker-sq.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-sr-SR.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-sr.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-sv.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-ta.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-th.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-tj.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-tr.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-uk.js +0 -24
- data/vendor/assets/javascripts/jquery.ui.datepicker-vi.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-zh-CN.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-zh-HK.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.datepicker-zh-TW.js +0 -23
- data/vendor/assets/javascripts/jquery.ui.draggable.js +0 -950
- data/vendor/assets/javascripts/jquery.ui.droppable.js +0 -376
- data/vendor/assets/javascripts/jquery.ui.effect-fade.js +0 -32
- data/vendor/assets/javascripts/jquery.ui.effect.all.js +0 -14
- data/vendor/assets/stylesheets/jquery.ui.all.css.erb +0 -14
- data/vendor/assets/stylesheets/jquery.ui.autocomplete.css.erb +0 -21
- data/vendor/assets/stylesheets/jquery.ui.base.css.erb +0 -27
- data/vendor/assets/stylesheets/jquery.ui.menu.css.erb +0 -81
- data/vendor/assets/stylesheets/jquery.ui.progressbar.css.erb +0 -32
- data/vendor/assets/stylesheets/jquery.ui.selectable.css.erb +0 -19
data/{vendor/assets/javascripts/jquery.ui.tooltip.js → app/assets/javascripts/jquery-ui/tooltip.js}
RENAMED
@@ -1,53 +1,36 @@
|
|
1
|
-
//= require jquery
|
2
|
-
//= require jquery
|
3
|
-
//= require jquery
|
1
|
+
//= require jquery-ui/core
|
2
|
+
//= require jquery-ui/widget
|
3
|
+
//= require jquery-ui/position
|
4
4
|
|
5
5
|
/*!
|
6
|
-
* jQuery UI Tooltip 1.
|
6
|
+
* jQuery UI Tooltip 1.11.3
|
7
7
|
* http://jqueryui.com
|
8
8
|
*
|
9
|
-
* Copyright
|
9
|
+
* Copyright jQuery Foundation and other contributors
|
10
10
|
* Released under the MIT license.
|
11
11
|
* http://jquery.org/license
|
12
12
|
*
|
13
13
|
* http://api.jqueryui.com/tooltip/
|
14
|
-
*
|
15
|
-
* Depends:
|
16
|
-
* jquery.ui.core.js
|
17
|
-
* jquery.ui.widget.js
|
18
|
-
* jquery.ui.position.js
|
19
14
|
*/
|
20
|
-
(function(
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
}
|
31
|
-
|
32
|
-
function removeDescribedBy( elem ) {
|
33
|
-
var id = elem.data( "ui-tooltip-id" ),
|
34
|
-
describedby = (elem.attr( "aria-describedby" ) || "").split( /\s+/ ),
|
35
|
-
index = $.inArray( id, describedby );
|
36
|
-
if ( index !== -1 ) {
|
37
|
-
describedby.splice( index, 1 );
|
38
|
-
}
|
39
|
-
|
40
|
-
elem.removeData( "ui-tooltip-id" );
|
41
|
-
describedby = $.trim( describedby.join( " " ) );
|
42
|
-
if ( describedby ) {
|
43
|
-
elem.attr( "aria-describedby", describedby );
|
15
|
+
(function( factory ) {
|
16
|
+
if ( typeof define === "function" && define.amd ) {
|
17
|
+
|
18
|
+
// AMD. Register as an anonymous module.
|
19
|
+
define([
|
20
|
+
"jquery",
|
21
|
+
"./core",
|
22
|
+
"./widget",
|
23
|
+
"./position"
|
24
|
+
], factory );
|
44
25
|
} else {
|
45
|
-
|
26
|
+
|
27
|
+
// Browser globals
|
28
|
+
factory( jQuery );
|
46
29
|
}
|
47
|
-
}
|
30
|
+
}(function( $ ) {
|
48
31
|
|
49
|
-
$.widget( "ui.tooltip", {
|
50
|
-
version: "1.
|
32
|
+
return $.widget( "ui.tooltip", {
|
33
|
+
version: "1.11.3",
|
51
34
|
options: {
|
52
35
|
content: function() {
|
53
36
|
// support: IE<9, Opera in jQuery <1.7
|
@@ -73,6 +56,32 @@ $.widget( "ui.tooltip", {
|
|
73
56
|
open: null
|
74
57
|
},
|
75
58
|
|
59
|
+
_addDescribedBy: function( elem, id ) {
|
60
|
+
var describedby = (elem.attr( "aria-describedby" ) || "").split( /\s+/ );
|
61
|
+
describedby.push( id );
|
62
|
+
elem
|
63
|
+
.data( "ui-tooltip-id", id )
|
64
|
+
.attr( "aria-describedby", $.trim( describedby.join( " " ) ) );
|
65
|
+
},
|
66
|
+
|
67
|
+
_removeDescribedBy: function( elem ) {
|
68
|
+
var id = elem.data( "ui-tooltip-id" ),
|
69
|
+
describedby = (elem.attr( "aria-describedby" ) || "").split( /\s+/ ),
|
70
|
+
index = $.inArray( id, describedby );
|
71
|
+
|
72
|
+
if ( index !== -1 ) {
|
73
|
+
describedby.splice( index, 1 );
|
74
|
+
}
|
75
|
+
|
76
|
+
elem.removeData( "ui-tooltip-id" );
|
77
|
+
describedby = $.trim( describedby.join( " " ) );
|
78
|
+
if ( describedby ) {
|
79
|
+
elem.attr( "aria-describedby", describedby );
|
80
|
+
} else {
|
81
|
+
elem.removeAttr( "aria-describedby" );
|
82
|
+
}
|
83
|
+
},
|
84
|
+
|
76
85
|
_create: function() {
|
77
86
|
this._on({
|
78
87
|
mouseover: "open",
|
@@ -81,12 +90,23 @@ $.widget( "ui.tooltip", {
|
|
81
90
|
|
82
91
|
// IDs of generated tooltips, needed for destroy
|
83
92
|
this.tooltips = {};
|
93
|
+
|
84
94
|
// IDs of parent tooltips where we removed the title attribute
|
85
95
|
this.parents = {};
|
86
96
|
|
87
97
|
if ( this.options.disabled ) {
|
88
98
|
this._disable();
|
89
99
|
}
|
100
|
+
|
101
|
+
// Append the aria-live region so tooltips announce correctly
|
102
|
+
this.liveRegion = $( "<div>" )
|
103
|
+
.attr({
|
104
|
+
role: "log",
|
105
|
+
"aria-live": "assertive",
|
106
|
+
"aria-relevant": "additions"
|
107
|
+
})
|
108
|
+
.addClass( "ui-helper-hidden-accessible" )
|
109
|
+
.appendTo( this.document[ 0 ].body );
|
90
110
|
},
|
91
111
|
|
92
112
|
_setOption: function( key, value ) {
|
@@ -102,8 +122,8 @@ $.widget( "ui.tooltip", {
|
|
102
122
|
this._super( key, value );
|
103
123
|
|
104
124
|
if ( key === "content" ) {
|
105
|
-
$.each( this.tooltips, function( id,
|
106
|
-
that._updateContent( element );
|
125
|
+
$.each( this.tooltips, function( id, tooltipData ) {
|
126
|
+
that._updateContent( tooltipData.element );
|
107
127
|
});
|
108
128
|
}
|
109
129
|
},
|
@@ -112,9 +132,9 @@ $.widget( "ui.tooltip", {
|
|
112
132
|
var that = this;
|
113
133
|
|
114
134
|
// close open tooltips
|
115
|
-
$.each( this.tooltips, function( id,
|
135
|
+
$.each( this.tooltips, function( id, tooltipData ) {
|
116
136
|
var event = $.Event( "blur" );
|
117
|
-
event.target = event.currentTarget = element[0];
|
137
|
+
event.target = event.currentTarget = tooltipData.element[ 0 ];
|
118
138
|
that.close( event, true );
|
119
139
|
});
|
120
140
|
|
@@ -124,7 +144,7 @@ $.widget( "ui.tooltip", {
|
|
124
144
|
if ( element.is( "[title]" ) ) {
|
125
145
|
element
|
126
146
|
.data( "ui-tooltip-title", element.attr( "title" ) )
|
127
|
-
.
|
147
|
+
.removeAttr( "title" );
|
128
148
|
}
|
129
149
|
});
|
130
150
|
},
|
@@ -216,7 +236,7 @@ $.widget( "ui.tooltip", {
|
|
216
236
|
},
|
217
237
|
|
218
238
|
_open: function( event, target, content ) {
|
219
|
-
var tooltip, events, delayedShow,
|
239
|
+
var tooltipData, tooltip, events, delayedShow, a11yContent,
|
220
240
|
positionOption = $.extend( {}, this.options.position );
|
221
241
|
|
222
242
|
if ( !content ) {
|
@@ -225,9 +245,9 @@ $.widget( "ui.tooltip", {
|
|
225
245
|
|
226
246
|
// Content can be updated multiple times. If the tooltip already
|
227
247
|
// exists, then just update the content and bail.
|
228
|
-
|
229
|
-
if (
|
230
|
-
tooltip.find( ".ui-tooltip-content" ).html( content );
|
248
|
+
tooltipData = this._find( target );
|
249
|
+
if ( tooltipData ) {
|
250
|
+
tooltipData.tooltip.find( ".ui-tooltip-content" ).html( content );
|
231
251
|
return;
|
232
252
|
}
|
233
253
|
|
@@ -246,10 +266,23 @@ $.widget( "ui.tooltip", {
|
|
246
266
|
}
|
247
267
|
}
|
248
268
|
|
249
|
-
|
250
|
-
|
269
|
+
tooltipData = this._tooltip( target );
|
270
|
+
tooltip = tooltipData.tooltip;
|
271
|
+
this._addDescribedBy( target, tooltip.attr( "id" ) );
|
251
272
|
tooltip.find( ".ui-tooltip-content" ).html( content );
|
252
273
|
|
274
|
+
// Support: Voiceover on OS X, JAWS on IE <= 9
|
275
|
+
// JAWS announces deletions even when aria-relevant="additions"
|
276
|
+
// Voiceover will sometimes re-read the entire log region's contents from the beginning
|
277
|
+
this.liveRegion.children().hide();
|
278
|
+
if ( content.clone ) {
|
279
|
+
a11yContent = content.clone();
|
280
|
+
a11yContent.removeAttr( "id" ).find( "[id]" ).removeAttr( "id" );
|
281
|
+
} else {
|
282
|
+
a11yContent = content;
|
283
|
+
}
|
284
|
+
$( "<div>" ).html( a11yContent ).appendTo( this.liveRegion );
|
285
|
+
|
253
286
|
function position( event ) {
|
254
287
|
positionOption.of = event;
|
255
288
|
if ( tooltip.is( ":hidden" ) ) {
|
@@ -293,11 +326,17 @@ $.widget( "ui.tooltip", {
|
|
293
326
|
fakeEvent.currentTarget = target[0];
|
294
327
|
this.close( fakeEvent, true );
|
295
328
|
}
|
296
|
-
},
|
297
|
-
remove: function() {
|
298
|
-
this._removeTooltip( tooltip );
|
299
329
|
}
|
300
330
|
};
|
331
|
+
|
332
|
+
// Only bind remove handler for delegated targets. Non-delegated
|
333
|
+
// tooltips will handle this in destroy.
|
334
|
+
if ( target[ 0 ] !== this.element[ 0 ] ) {
|
335
|
+
events.remove = function() {
|
336
|
+
this._removeTooltip( tooltip );
|
337
|
+
};
|
338
|
+
}
|
339
|
+
|
301
340
|
if ( !event || event.type === "mouseover" ) {
|
302
341
|
events.mouseleave = "close";
|
303
342
|
}
|
@@ -308,13 +347,21 @@ $.widget( "ui.tooltip", {
|
|
308
347
|
},
|
309
348
|
|
310
349
|
close: function( event ) {
|
311
|
-
var
|
350
|
+
var tooltip,
|
351
|
+
that = this,
|
312
352
|
target = $( event ? event.currentTarget : this.element ),
|
313
|
-
|
353
|
+
tooltipData = this._find( target );
|
354
|
+
|
355
|
+
// The tooltip may already be closed
|
356
|
+
if ( !tooltipData ) {
|
357
|
+
return;
|
358
|
+
}
|
359
|
+
|
360
|
+
tooltip = tooltipData.tooltip;
|
314
361
|
|
315
362
|
// disabling closes the tooltip, so we need to track when we're closing
|
316
363
|
// to avoid an infinite loop in case the tooltip becomes disabled on close
|
317
|
-
if (
|
364
|
+
if ( tooltipData.closing ) {
|
318
365
|
return;
|
319
366
|
}
|
320
367
|
|
@@ -322,12 +369,14 @@ $.widget( "ui.tooltip", {
|
|
322
369
|
clearInterval( this.delayedShow );
|
323
370
|
|
324
371
|
// only set title if we had one before (see comment in _open())
|
325
|
-
|
372
|
+
// If the title attribute has changed since open(), don't restore
|
373
|
+
if ( target.data( "ui-tooltip-title" ) && !target.attr( "title" ) ) {
|
326
374
|
target.attr( "title", target.data( "ui-tooltip-title" ) );
|
327
375
|
}
|
328
376
|
|
329
|
-
|
377
|
+
this._removeDescribedBy( target );
|
330
378
|
|
379
|
+
tooltipData.hiding = true;
|
331
380
|
tooltip.stop( true );
|
332
381
|
this._hide( tooltip, this.options.hide, function() {
|
333
382
|
that._removeTooltip( $( this ) );
|
@@ -335,8 +384,9 @@ $.widget( "ui.tooltip", {
|
|
335
384
|
|
336
385
|
target.removeData( "ui-tooltip-open" );
|
337
386
|
this._off( target, "mouseleave focusout keyup" );
|
387
|
+
|
338
388
|
// Remove 'remove' binding only on delegated targets
|
339
|
-
if ( target[0] !== this.element[0] ) {
|
389
|
+
if ( target[ 0 ] !== this.element[ 0 ] ) {
|
340
390
|
this._off( target, "remove" );
|
341
391
|
}
|
342
392
|
this._off( this.document, "mousemove" );
|
@@ -348,31 +398,35 @@ $.widget( "ui.tooltip", {
|
|
348
398
|
});
|
349
399
|
}
|
350
400
|
|
351
|
-
|
401
|
+
tooltipData.closing = true;
|
352
402
|
this._trigger( "close", event, { tooltip: tooltip } );
|
353
|
-
|
403
|
+
if ( !tooltipData.hiding ) {
|
404
|
+
tooltipData.closing = false;
|
405
|
+
}
|
354
406
|
},
|
355
407
|
|
356
408
|
_tooltip: function( element ) {
|
357
|
-
var
|
358
|
-
|
359
|
-
.attr({
|
360
|
-
id: id,
|
361
|
-
role: "tooltip"
|
362
|
-
})
|
409
|
+
var tooltip = $( "<div>" )
|
410
|
+
.attr( "role", "tooltip" )
|
363
411
|
.addClass( "ui-tooltip ui-widget ui-corner-all ui-widget-content " +
|
364
|
-
( this.options.tooltipClass || "" ) )
|
412
|
+
( this.options.tooltipClass || "" ) ),
|
413
|
+
id = tooltip.uniqueId().attr( "id" );
|
414
|
+
|
365
415
|
$( "<div>" )
|
366
416
|
.addClass( "ui-tooltip-content" )
|
367
417
|
.appendTo( tooltip );
|
418
|
+
|
368
419
|
tooltip.appendTo( this.document[0].body );
|
369
|
-
|
370
|
-
return
|
420
|
+
|
421
|
+
return this.tooltips[ id ] = {
|
422
|
+
element: element,
|
423
|
+
tooltip: tooltip
|
424
|
+
};
|
371
425
|
},
|
372
426
|
|
373
427
|
_find: function( target ) {
|
374
428
|
var id = target.data( "ui-tooltip-id" );
|
375
|
-
return id ?
|
429
|
+
return id ? this.tooltips[ id ] : null;
|
376
430
|
},
|
377
431
|
|
378
432
|
_removeTooltip: function( tooltip ) {
|
@@ -384,10 +438,11 @@ $.widget( "ui.tooltip", {
|
|
384
438
|
var that = this;
|
385
439
|
|
386
440
|
// close open tooltips
|
387
|
-
$.each( this.tooltips, function( id,
|
441
|
+
$.each( this.tooltips, function( id, tooltipData ) {
|
388
442
|
// Delegate to close method to handle common cleanup
|
389
|
-
var event = $.Event( "blur" )
|
390
|
-
|
443
|
+
var event = $.Event( "blur" ),
|
444
|
+
element = tooltipData.element;
|
445
|
+
event.target = event.currentTarget = element[ 0 ];
|
391
446
|
that.close( event, true );
|
392
447
|
|
393
448
|
// Remove immediately; destroying an open tooltip doesn't use the
|
@@ -396,11 +451,15 @@ $.widget( "ui.tooltip", {
|
|
396
451
|
|
397
452
|
// Restore the title
|
398
453
|
if ( element.data( "ui-tooltip-title" ) ) {
|
399
|
-
|
454
|
+
// If the title attribute has changed since open(), don't restore
|
455
|
+
if ( !element.attr( "title" ) ) {
|
456
|
+
element.attr( "title", element.data( "ui-tooltip-title" ) );
|
457
|
+
}
|
400
458
|
element.removeData( "ui-tooltip-title" );
|
401
459
|
}
|
402
460
|
});
|
461
|
+
this.liveRegion.remove();
|
403
462
|
}
|
404
463
|
});
|
405
464
|
|
406
|
-
}
|
465
|
+
}));
|
data/{vendor/assets/javascripts/jquery.ui.widget.js → app/assets/javascripts/jquery-ui/widget.js}
RENAMED
@@ -1,27 +1,46 @@
|
|
1
1
|
/*!
|
2
|
-
* jQuery UI Widget 1.
|
2
|
+
* jQuery UI Widget 1.11.3
|
3
3
|
* http://jqueryui.com
|
4
4
|
*
|
5
|
-
* Copyright
|
5
|
+
* Copyright jQuery Foundation and other contributors
|
6
6
|
* Released under the MIT license.
|
7
7
|
* http://jquery.org/license
|
8
8
|
*
|
9
9
|
* http://api.jqueryui.com/jQuery.widget/
|
10
10
|
*/
|
11
|
-
(function(
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
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
|
-
|
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
|
+
var events, elem, i;
|
29
|
+
for ( i = 0; (elem = elems[i]) != null; i++ ) {
|
30
|
+
try {
|
31
|
+
|
32
|
+
// Only trigger remove when necessary to save time
|
33
|
+
events = $._data( elem, "events" );
|
34
|
+
if ( events && events.remove ) {
|
35
|
+
$( elem ).triggerHandler( "remove" );
|
36
|
+
}
|
37
|
+
|
38
|
+
// http://bugs.jquery.com/ticket/8235
|
39
|
+
} catch ( e ) {}
|
40
|
+
}
|
41
|
+
orig( elems );
|
42
|
+
};
|
43
|
+
})( $.cleanData );
|
25
44
|
|
26
45
|
$.widget = function( name, base, prototype ) {
|
27
46
|
var fullName, existingConstructor, constructor, basePrototype,
|
@@ -106,7 +125,7 @@ $.widget = function( name, base, prototype ) {
|
|
106
125
|
// TODO: remove support for widgetEventPrefix
|
107
126
|
// always use the name + a colon as the prefix, e.g., draggable:start
|
108
127
|
// don't prefix for widgets that aren't DOM-based
|
109
|
-
widgetEventPrefix: existingConstructor ? basePrototype.widgetEventPrefix : name
|
128
|
+
widgetEventPrefix: existingConstructor ? (basePrototype.widgetEventPrefix || name) : name
|
110
129
|
}, proxiedPrototype, {
|
111
130
|
constructor: constructor,
|
112
131
|
namespace: namespace,
|
@@ -134,10 +153,12 @@ $.widget = function( name, base, prototype ) {
|
|
134
153
|
}
|
135
154
|
|
136
155
|
$.widget.bridge( name, constructor );
|
156
|
+
|
157
|
+
return constructor;
|
137
158
|
};
|
138
159
|
|
139
160
|
$.widget.extend = function( target ) {
|
140
|
-
var input =
|
161
|
+
var input = widget_slice.call( arguments, 1 ),
|
141
162
|
inputIndex = 0,
|
142
163
|
inputLength = input.length,
|
143
164
|
key,
|
@@ -166,18 +187,17 @@ $.widget.bridge = function( name, object ) {
|
|
166
187
|
var fullName = object.prototype.widgetFullName || name;
|
167
188
|
$.fn[ name ] = function( options ) {
|
168
189
|
var isMethodCall = typeof options === "string",
|
169
|
-
args =
|
190
|
+
args = widget_slice.call( arguments, 1 ),
|
170
191
|
returnValue = this;
|
171
192
|
|
172
|
-
// allow multiple hashes to be passed on init
|
173
|
-
options = !isMethodCall && args.length ?
|
174
|
-
$.widget.extend.apply( null, [ options ].concat(args) ) :
|
175
|
-
options;
|
176
|
-
|
177
193
|
if ( isMethodCall ) {
|
178
194
|
this.each(function() {
|
179
195
|
var methodValue,
|
180
196
|
instance = $.data( this, fullName );
|
197
|
+
if ( options === "instance" ) {
|
198
|
+
returnValue = instance;
|
199
|
+
return false;
|
200
|
+
}
|
181
201
|
if ( !instance ) {
|
182
202
|
return $.error( "cannot call methods on " + name + " prior to initialization; " +
|
183
203
|
"attempted to call method '" + options + "'" );
|
@@ -194,10 +214,19 @@ $.widget.bridge = function( name, object ) {
|
|
194
214
|
}
|
195
215
|
});
|
196
216
|
} else {
|
217
|
+
|
218
|
+
// Allow multiple hashes to be passed on init
|
219
|
+
if ( args.length ) {
|
220
|
+
options = $.widget.extend.apply( null, [ options ].concat(args) );
|
221
|
+
}
|
222
|
+
|
197
223
|
this.each(function() {
|
198
224
|
var instance = $.data( this, fullName );
|
199
225
|
if ( instance ) {
|
200
|
-
instance.option( options || {} )
|
226
|
+
instance.option( options || {} );
|
227
|
+
if ( instance._init ) {
|
228
|
+
instance._init();
|
229
|
+
}
|
201
230
|
} else {
|
202
231
|
$.data( this, fullName, new object( options, this ) );
|
203
232
|
}
|
@@ -224,12 +253,8 @@ $.Widget.prototype = {
|
|
224
253
|
_createWidget: function( options, element ) {
|
225
254
|
element = $( element || this.defaultElement || this )[ 0 ];
|
226
255
|
this.element = $( element );
|
227
|
-
this.uuid =
|
256
|
+
this.uuid = widget_uuid++;
|
228
257
|
this.eventNamespace = "." + this.widgetName + this.uuid;
|
229
|
-
this.options = $.widget.extend( {},
|
230
|
-
this.options,
|
231
|
-
this._getCreateOptions(),
|
232
|
-
options );
|
233
258
|
|
234
259
|
this.bindings = $();
|
235
260
|
this.hoverable = $();
|
@@ -252,6 +277,11 @@ $.Widget.prototype = {
|
|
252
277
|
this.window = $( this.document[0].defaultView || this.document[0].parentWindow );
|
253
278
|
}
|
254
279
|
|
280
|
+
this.options = $.widget.extend( {},
|
281
|
+
this.options,
|
282
|
+
this._getCreateOptions(),
|
283
|
+
options );
|
284
|
+
|
255
285
|
this._create();
|
256
286
|
this._trigger( "create", null, this._getCreateEventData() );
|
257
287
|
this._init();
|
@@ -267,9 +297,6 @@ $.Widget.prototype = {
|
|
267
297
|
// all event bindings should go through this._on()
|
268
298
|
this.element
|
269
299
|
.unbind( this.eventNamespace )
|
270
|
-
// 1.9 BC for #7810
|
271
|
-
// TODO remove dual storage
|
272
|
-
.removeData( this.widgetName )
|
273
300
|
.removeData( this.widgetFullName )
|
274
301
|
// support: jquery <1.6.3
|
275
302
|
// http://bugs.jquery.com/ticket/9413
|
@@ -315,12 +342,12 @@ $.Widget.prototype = {
|
|
315
342
|
curOption = curOption[ parts[ i ] ];
|
316
343
|
}
|
317
344
|
key = parts.pop();
|
318
|
-
if (
|
345
|
+
if ( arguments.length === 1 ) {
|
319
346
|
return curOption[ key ] === undefined ? null : curOption[ key ];
|
320
347
|
}
|
321
348
|
curOption[ key ] = value;
|
322
349
|
} else {
|
323
|
-
if (
|
350
|
+
if ( arguments.length === 1 ) {
|
324
351
|
return this.options[ key ] === undefined ? null : this.options[ key ];
|
325
352
|
}
|
326
353
|
options[ key ] = value;
|
@@ -345,20 +372,23 @@ $.Widget.prototype = {
|
|
345
372
|
|
346
373
|
if ( key === "disabled" ) {
|
347
374
|
this.widget()
|
348
|
-
.toggleClass( this.widgetFullName + "-disabled
|
349
|
-
|
350
|
-
|
351
|
-
|
375
|
+
.toggleClass( this.widgetFullName + "-disabled", !!value );
|
376
|
+
|
377
|
+
// If the widget is becoming disabled, then nothing is interactive
|
378
|
+
if ( value ) {
|
379
|
+
this.hoverable.removeClass( "ui-state-hover" );
|
380
|
+
this.focusable.removeClass( "ui-state-focus" );
|
381
|
+
}
|
352
382
|
}
|
353
383
|
|
354
384
|
return this;
|
355
385
|
},
|
356
386
|
|
357
387
|
enable: function() {
|
358
|
-
return this.
|
388
|
+
return this._setOptions({ disabled: false });
|
359
389
|
},
|
360
390
|
disable: function() {
|
361
|
-
return this.
|
391
|
+
return this._setOptions({ disabled: true });
|
362
392
|
},
|
363
393
|
|
364
394
|
_on: function( suppressDisabledCheck, element, handlers ) {
|
@@ -378,7 +408,6 @@ $.Widget.prototype = {
|
|
378
408
|
element = this.element;
|
379
409
|
delegateElement = this.widget();
|
380
410
|
} else {
|
381
|
-
// accept selectors, DOM elements
|
382
411
|
element = delegateElement = $( element );
|
383
412
|
this.bindings = this.bindings.add( element );
|
384
413
|
}
|
@@ -403,7 +432,7 @@ $.Widget.prototype = {
|
|
403
432
|
handler.guid || handlerProxy.guid || $.guid++;
|
404
433
|
}
|
405
434
|
|
406
|
-
var match = event.match( /^(\w
|
435
|
+
var match = event.match( /^([\w:-]*)\s*(.*)$/ ),
|
407
436
|
eventName = match[1] + instance.eventNamespace,
|
408
437
|
selector = match[2];
|
409
438
|
if ( selector ) {
|
@@ -415,8 +444,14 @@ $.Widget.prototype = {
|
|
415
444
|
},
|
416
445
|
|
417
446
|
_off: function( element, eventName ) {
|
418
|
-
eventName = (eventName || "").split( " " ).join( this.eventNamespace + " " ) +
|
447
|
+
eventName = (eventName || "").split( " " ).join( this.eventNamespace + " " ) +
|
448
|
+
this.eventNamespace;
|
419
449
|
element.unbind( eventName ).undelegate( eventName );
|
450
|
+
|
451
|
+
// Clear the stack to avoid memory leaks (#10056)
|
452
|
+
this.bindings = $( this.bindings.not( element ).get() );
|
453
|
+
this.focusable = $( this.focusable.not( element ).get() );
|
454
|
+
this.hoverable = $( this.hoverable.not( element ).get() );
|
420
455
|
},
|
421
456
|
|
422
457
|
_delay: function( handler, delay ) {
|
@@ -518,4 +553,6 @@ $.each( { show: "fadeIn", hide: "fadeOut" }, function( method, defaultEffect ) {
|
|
518
553
|
};
|
519
554
|
});
|
520
555
|
|
521
|
-
|
556
|
+
return $.widget;
|
557
|
+
|
558
|
+
}));
|
@@ -0,0 +1,37 @@
|
|
1
|
+
//= require jquery-ui/accordion
|
2
|
+
//= require jquery-ui/autocomplete
|
3
|
+
//= require jquery-ui/button
|
4
|
+
//= require jquery-ui/core
|
5
|
+
//= require jquery-ui/datepicker
|
6
|
+
//= require jquery-ui/dialog
|
7
|
+
//= require jquery-ui/draggable
|
8
|
+
//= require jquery-ui/droppable
|
9
|
+
//= require jquery-ui/effect-blind
|
10
|
+
//= require jquery-ui/effect-bounce
|
11
|
+
//= require jquery-ui/effect-clip
|
12
|
+
//= require jquery-ui/effect-drop
|
13
|
+
//= require jquery-ui/effect-explode
|
14
|
+
//= require jquery-ui/effect-fade
|
15
|
+
//= require jquery-ui/effect-fold
|
16
|
+
//= require jquery-ui/effect-highlight
|
17
|
+
//= require jquery-ui/effect-puff
|
18
|
+
//= require jquery-ui/effect-pulsate
|
19
|
+
//= require jquery-ui/effect-scale
|
20
|
+
//= require jquery-ui/effect-shake
|
21
|
+
//= require jquery-ui/effect-size
|
22
|
+
//= require jquery-ui/effect-slide
|
23
|
+
//= require jquery-ui/effect-transfer
|
24
|
+
//= require jquery-ui/effect
|
25
|
+
//= require jquery-ui/menu
|
26
|
+
//= require jquery-ui/mouse
|
27
|
+
//= require jquery-ui/position
|
28
|
+
//= require jquery-ui/progressbar
|
29
|
+
//= require jquery-ui/resizable
|
30
|
+
//= require jquery-ui/selectable
|
31
|
+
//= require jquery-ui/selectmenu
|
32
|
+
//= require jquery-ui/slider
|
33
|
+
//= require jquery-ui/sortable
|
34
|
+
//= require jquery-ui/spinner
|
35
|
+
//= require jquery-ui/tabs
|
36
|
+
//= require jquery-ui/tooltip
|
37
|
+
//= require jquery-ui/widget
|
@@ -1,31 +1,29 @@
|
|
1
1
|
/*!
|
2
|
-
* jQuery UI Accordion 1.
|
2
|
+
* jQuery UI Accordion 1.11.3
|
3
3
|
* http://jqueryui.com
|
4
4
|
*
|
5
|
-
* Copyright
|
5
|
+
* Copyright jQuery Foundation and other contributors
|
6
6
|
* Released under the MIT license.
|
7
7
|
* http://jquery.org/license
|
8
8
|
*
|
9
|
-
* http://
|
9
|
+
* http://api.jqueryui.com/accordion/#theming
|
10
10
|
*/
|
11
11
|
/*
|
12
|
-
*= require jquery
|
13
|
-
*= require jquery
|
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
|
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
|
}
|