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.effect.js → app/assets/javascripts/jquery-ui/effect.js}
RENAMED
@@ -1,16 +1,30 @@
|
|
1
1
|
/*!
|
2
|
-
* jQuery UI Effects 1.
|
2
|
+
* jQuery UI Effects 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/category/effects-core/
|
10
10
|
*/
|
11
|
-
|
11
|
+
(function( factory ) {
|
12
|
+
if ( typeof define === "function" && define.amd ) {
|
12
13
|
|
13
|
-
|
14
|
+
// AMD. Register as an anonymous module.
|
15
|
+
define( [ "jquery" ], factory );
|
16
|
+
} else {
|
17
|
+
|
18
|
+
// Browser globals
|
19
|
+
factory( jQuery );
|
20
|
+
}
|
21
|
+
}(function( $ ) {
|
22
|
+
|
23
|
+
var dataSpace = "ui-effects-",
|
24
|
+
|
25
|
+
// Create a local jQuery because jQuery Color relies on it and the
|
26
|
+
// global may not exist with AMD and a custom build (#10199)
|
27
|
+
jQuery = $;
|
14
28
|
|
15
29
|
$.effects = {
|
16
30
|
effect: {}
|
@@ -20,7 +34,7 @@ $.effects = {
|
|
20
34
|
* jQuery Color Animations v2.1.2
|
21
35
|
* https://github.com/jquery/jquery-color
|
22
36
|
*
|
23
|
-
* Copyright
|
37
|
+
* Copyright 2014 jQuery Foundation and other contributors
|
24
38
|
* Released under the MIT license.
|
25
39
|
* http://jquery.org/license
|
26
40
|
*
|
@@ -33,7 +47,7 @@ $.effects = {
|
|
33
47
|
// plusequals test for += 100 -= 100
|
34
48
|
rplusequals = /^([\-+])=\s*(\d+\.?\d*)/,
|
35
49
|
// a set of RE's that can match strings and generate color tuples.
|
36
|
-
stringParsers = [{
|
50
|
+
stringParsers = [ {
|
37
51
|
re: /rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,
|
38
52
|
parse: function( execResult ) {
|
39
53
|
return [
|
@@ -84,7 +98,7 @@ $.effects = {
|
|
84
98
|
execResult[ 4 ]
|
85
99
|
];
|
86
100
|
}
|
87
|
-
}],
|
101
|
+
} ],
|
88
102
|
|
89
103
|
// jQuery.Color( )
|
90
104
|
color = jQuery.Color = function( color, green, blue, alpha ) {
|
@@ -443,18 +457,18 @@ color.fn.parse.prototype = color.fn;
|
|
443
457
|
function hue2rgb( p, q, h ) {
|
444
458
|
h = ( h + 1 ) % 1;
|
445
459
|
if ( h * 6 < 1 ) {
|
446
|
-
return p + (q - p) * h * 6;
|
460
|
+
return p + ( q - p ) * h * 6;
|
447
461
|
}
|
448
462
|
if ( h * 2 < 1) {
|
449
463
|
return q;
|
450
464
|
}
|
451
465
|
if ( h * 3 < 2 ) {
|
452
|
-
return p + (q - p) * ((2/3) - h) * 6;
|
466
|
+
return p + ( q - p ) * ( ( 2 / 3 ) - h ) * 6;
|
453
467
|
}
|
454
468
|
return p;
|
455
469
|
}
|
456
470
|
|
457
|
-
spaces.hsla.to = function
|
471
|
+
spaces.hsla.to = function( rgba ) {
|
458
472
|
if ( rgba[ 0 ] == null || rgba[ 1 ] == null || rgba[ 2 ] == null ) {
|
459
473
|
return [ null, null, null, rgba[ 3 ] ];
|
460
474
|
}
|
@@ -491,7 +505,7 @@ spaces.hsla.to = function ( rgba ) {
|
|
491
505
|
return [ Math.round(h) % 360, s, l, a == null ? 1 : a ];
|
492
506
|
};
|
493
507
|
|
494
|
-
spaces.hsla.from = function
|
508
|
+
spaces.hsla.from = function( hsla ) {
|
495
509
|
if ( hsla[ 0 ] == null || hsla[ 1 ] == null || hsla[ 2 ] == null ) {
|
496
510
|
return [ null, null, null, hsla[ 3 ] ];
|
497
511
|
}
|
@@ -510,7 +524,6 @@ spaces.hsla.from = function ( hsla ) {
|
|
510
524
|
];
|
511
525
|
};
|
512
526
|
|
513
|
-
|
514
527
|
each( spaces, function( spaceName, space ) {
|
515
528
|
var props = space.props,
|
516
529
|
cache = space.cache,
|
@@ -620,7 +633,7 @@ color.hook = function( hook ) {
|
|
620
633
|
}
|
621
634
|
try {
|
622
635
|
elem.style[ hook ] = value;
|
623
|
-
} catch( e ) {
|
636
|
+
} catch ( e ) {
|
624
637
|
// wrapped to prevent IE from throwing errors on "invalid" values like 'auto' or 'inherit'
|
625
638
|
}
|
626
639
|
}
|
@@ -680,7 +693,6 @@ colors = jQuery.Color.names = {
|
|
680
693
|
|
681
694
|
})( jQuery );
|
682
695
|
|
683
|
-
|
684
696
|
/******************************************************************************/
|
685
697
|
/****************************** CLASS ANIMATIONS ******************************/
|
686
698
|
/******************************************************************************/
|
@@ -735,7 +747,6 @@ function getElementStyles( elem ) {
|
|
735
747
|
return styles;
|
736
748
|
}
|
737
749
|
|
738
|
-
|
739
750
|
function styleDifference( oldStyle, newStyle ) {
|
740
751
|
var diff = {},
|
741
752
|
name, value;
|
@@ -839,39 +850,42 @@ $.effects.animateClass = function( value, duration, easing, callback ) {
|
|
839
850
|
};
|
840
851
|
|
841
852
|
$.fn.extend({
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
removeClass: function(
|
852
|
-
return speed
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
853
|
+
addClass: (function( orig ) {
|
854
|
+
return function( classNames, speed, easing, callback ) {
|
855
|
+
return speed ?
|
856
|
+
$.effects.animateClass.call( this,
|
857
|
+
{ add: classNames }, speed, easing, callback ) :
|
858
|
+
orig.apply( this, arguments );
|
859
|
+
};
|
860
|
+
})( $.fn.addClass ),
|
861
|
+
|
862
|
+
removeClass: (function( orig ) {
|
863
|
+
return function( classNames, speed, easing, callback ) {
|
864
|
+
return arguments.length > 1 ?
|
865
|
+
$.effects.animateClass.call( this,
|
866
|
+
{ remove: classNames }, speed, easing, callback ) :
|
867
|
+
orig.apply( this, arguments );
|
868
|
+
};
|
869
|
+
})( $.fn.removeClass ),
|
870
|
+
|
871
|
+
toggleClass: (function( orig ) {
|
872
|
+
return function( classNames, force, speed, easing, callback ) {
|
873
|
+
if ( typeof force === "boolean" || force === undefined ) {
|
874
|
+
if ( !speed ) {
|
875
|
+
// without speed parameter
|
876
|
+
return orig.apply( this, arguments );
|
877
|
+
} else {
|
878
|
+
return $.effects.animateClass.call( this,
|
879
|
+
(force ? { add: classNames } : { remove: classNames }),
|
880
|
+
speed, easing, callback );
|
881
|
+
}
|
864
882
|
} else {
|
883
|
+
// without force parameter
|
865
884
|
return $.effects.animateClass.call( this,
|
866
|
-
|
867
|
-
speed, easing, callback );
|
885
|
+
{ toggle: classNames }, force, speed, easing );
|
868
886
|
}
|
869
|
-
}
|
870
|
-
|
871
|
-
return $.effects.animateClass.call( this,
|
872
|
-
{ toggle: classNames }, force, speed, easing );
|
873
|
-
}
|
874
|
-
},
|
887
|
+
};
|
888
|
+
})( $.fn.toggleClass ),
|
875
889
|
|
876
890
|
switchClass: function( remove, add, speed, easing, callback) {
|
877
891
|
return $.effects.animateClass.call( this, {
|
@@ -890,11 +904,11 @@ $.fn.extend({
|
|
890
904
|
(function() {
|
891
905
|
|
892
906
|
$.extend( $.effects, {
|
893
|
-
version: "1.
|
907
|
+
version: "1.11.3",
|
894
908
|
|
895
909
|
// Saves a set of properties in a data storage
|
896
910
|
save: function( element, set ) {
|
897
|
-
for( var i=0; i < set.length; i++ ) {
|
911
|
+
for ( var i = 0; i < set.length; i++ ) {
|
898
912
|
if ( set[ i ] !== null ) {
|
899
913
|
element.data( dataSpace + set[ i ], element[ 0 ].style[ set[ i ] ] );
|
900
914
|
}
|
@@ -904,7 +918,7 @@ $.extend( $.effects, {
|
|
904
918
|
// Restores a set of previously saved properties from a data storage
|
905
919
|
restore: function( element, set ) {
|
906
920
|
var val, i;
|
907
|
-
for( i=0; i < set.length; i++ ) {
|
921
|
+
for ( i = 0; i < set.length; i++ ) {
|
908
922
|
if ( set[ i ] !== null ) {
|
909
923
|
val = element.data( dataSpace + set[ i ] );
|
910
924
|
// support: jQuery 1.6.2
|
@@ -984,7 +998,7 @@ $.extend( $.effects, {
|
|
984
998
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=561664
|
985
999
|
try {
|
986
1000
|
active.id;
|
987
|
-
} catch( e ) {
|
1001
|
+
} catch ( e ) {
|
988
1002
|
active = document.body;
|
989
1003
|
}
|
990
1004
|
|
@@ -1037,7 +1051,6 @@ $.extend( $.effects, {
|
|
1037
1051
|
}
|
1038
1052
|
}
|
1039
1053
|
|
1040
|
-
|
1041
1054
|
return element;
|
1042
1055
|
},
|
1043
1056
|
|
@@ -1106,14 +1119,29 @@ function _normalizeArguments( effect, options, speed, callback ) {
|
|
1106
1119
|
return effect;
|
1107
1120
|
}
|
1108
1121
|
|
1109
|
-
function
|
1110
|
-
//
|
1111
|
-
if ( !
|
1122
|
+
function standardAnimationOption( option ) {
|
1123
|
+
// Valid standard speeds (nothing, number, named speed)
|
1124
|
+
if ( !option || typeof option === "number" || $.fx.speeds[ option ] ) {
|
1125
|
+
return true;
|
1126
|
+
}
|
1127
|
+
|
1128
|
+
// Invalid strings - treat as "normal" speed
|
1129
|
+
if ( typeof option === "string" && !$.effects.effect[ option ] ) {
|
1130
|
+
return true;
|
1131
|
+
}
|
1132
|
+
|
1133
|
+
// Complete callback
|
1134
|
+
if ( $.isFunction( option ) ) {
|
1135
|
+
return true;
|
1136
|
+
}
|
1137
|
+
|
1138
|
+
// Options hash (but not naming an effect)
|
1139
|
+
if ( typeof option === "object" && !option.effect ) {
|
1112
1140
|
return true;
|
1113
1141
|
}
|
1114
1142
|
|
1115
|
-
//
|
1116
|
-
return
|
1143
|
+
// Didn't match any standard API
|
1144
|
+
return false;
|
1117
1145
|
}
|
1118
1146
|
|
1119
1147
|
$.fn.extend({
|
@@ -1150,9 +1178,10 @@ $.fn.extend({
|
|
1150
1178
|
}
|
1151
1179
|
}
|
1152
1180
|
|
1153
|
-
//
|
1154
|
-
//
|
1181
|
+
// If the element already has the correct final state, delegate to
|
1182
|
+
// the core methods so the internal tracking of "olddisplay" works.
|
1155
1183
|
if ( elem.is( ":hidden" ) ? mode === "hide" : mode === "show" ) {
|
1184
|
+
elem[ mode ]();
|
1156
1185
|
done();
|
1157
1186
|
} else {
|
1158
1187
|
effectMethod.call( elem[0], args, done );
|
@@ -1162,39 +1191,41 @@ $.fn.extend({
|
|
1162
1191
|
return queue === false ? this.each( run ) : this.queue( queue || "fx", run );
|
1163
1192
|
},
|
1164
1193
|
|
1165
|
-
|
1166
|
-
|
1167
|
-
|
1168
|
-
|
1169
|
-
|
1170
|
-
|
1171
|
-
|
1172
|
-
|
1173
|
-
|
1174
|
-
|
1194
|
+
show: (function( orig ) {
|
1195
|
+
return function( option ) {
|
1196
|
+
if ( standardAnimationOption( option ) ) {
|
1197
|
+
return orig.apply( this, arguments );
|
1198
|
+
} else {
|
1199
|
+
var args = _normalizeArguments.apply( this, arguments );
|
1200
|
+
args.mode = "show";
|
1201
|
+
return this.effect.call( this, args );
|
1202
|
+
}
|
1203
|
+
};
|
1204
|
+
})( $.fn.show ),
|
1175
1205
|
|
1176
|
-
|
1177
|
-
|
1178
|
-
|
1179
|
-
|
1180
|
-
|
1181
|
-
|
1182
|
-
|
1183
|
-
|
1184
|
-
|
1185
|
-
|
1206
|
+
hide: (function( orig ) {
|
1207
|
+
return function( option ) {
|
1208
|
+
if ( standardAnimationOption( option ) ) {
|
1209
|
+
return orig.apply( this, arguments );
|
1210
|
+
} else {
|
1211
|
+
var args = _normalizeArguments.apply( this, arguments );
|
1212
|
+
args.mode = "hide";
|
1213
|
+
return this.effect.call( this, args );
|
1214
|
+
}
|
1215
|
+
};
|
1216
|
+
})( $.fn.hide ),
|
1186
1217
|
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
1190
|
-
|
1191
|
-
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
1195
|
-
|
1196
|
-
}
|
1197
|
-
},
|
1218
|
+
toggle: (function( orig ) {
|
1219
|
+
return function( option ) {
|
1220
|
+
if ( standardAnimationOption( option ) || typeof option === "boolean" ) {
|
1221
|
+
return orig.apply( this, arguments );
|
1222
|
+
} else {
|
1223
|
+
var args = _normalizeArguments.apply( this, arguments );
|
1224
|
+
args.mode = "toggle";
|
1225
|
+
return this.effect.call( this, args );
|
1226
|
+
}
|
1227
|
+
};
|
1228
|
+
})( $.fn.toggle ),
|
1198
1229
|
|
1199
1230
|
// helper functions
|
1200
1231
|
cssUnit: function(key) {
|
@@ -1229,10 +1260,10 @@ $.each( [ "Quad", "Cubic", "Quart", "Quint", "Expo" ], function( i, name ) {
|
|
1229
1260
|
});
|
1230
1261
|
|
1231
1262
|
$.extend( baseEasings, {
|
1232
|
-
Sine: function
|
1263
|
+
Sine: function( p ) {
|
1233
1264
|
return 1 - Math.cos( p * Math.PI / 2 );
|
1234
1265
|
},
|
1235
|
-
Circ: function
|
1266
|
+
Circ: function( p ) {
|
1236
1267
|
return 1 - Math.sqrt( 1 - p * p );
|
1237
1268
|
},
|
1238
1269
|
Elastic: function( p ) {
|
@@ -1242,7 +1273,7 @@ $.extend( baseEasings, {
|
|
1242
1273
|
Back: function( p ) {
|
1243
1274
|
return p * p * ( 3 * p - 2 );
|
1244
1275
|
},
|
1245
|
-
Bounce: function
|
1276
|
+
Bounce: function( p ) {
|
1246
1277
|
var pow2,
|
1247
1278
|
bounce = 4;
|
1248
1279
|
|
@@ -1265,4 +1296,6 @@ $.each( baseEasings, function( name, easeIn ) {
|
|
1265
1296
|
|
1266
1297
|
})();
|
1267
1298
|
|
1268
|
-
|
1299
|
+
return $.effects;
|
1300
|
+
|
1301
|
+
}));
|