jquery-ui-rails 5.0.5 → 6.0.1
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.
- checksums.yaml +7 -0
- data/.travis.yml +1 -1
- data/History.md +16 -0
- data/README.md +67 -50
- data/Rakefile +51 -27
- data/VERSIONS.md +2 -0
- data/app/assets/images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_444444_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_555555_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_777620_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_777777_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_cc0000_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/javascripts/jquery-ui/core.js +15 -304
- data/app/assets/javascripts/jquery-ui/data.js +41 -0
- data/app/assets/javascripts/jquery-ui/disable-selection.js +48 -0
- data/app/assets/javascripts/jquery-ui/effect.all.js +15 -16
- data/app/assets/javascripts/jquery-ui/effect.js +620 -284
- data/app/assets/javascripts/jquery-ui/effects/effect-blind.js +73 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-bounce.js +113 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-clip.js +68 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-drop.js +72 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-explode.js +114 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-fade.js +50 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-fold.js +92 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-highlight.js +60 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-puff.js +46 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-pulsate.js +67 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-scale.js +60 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-shake.js +77 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-size.js +194 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-slide.js +79 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-transfer.js +43 -0
- data/app/assets/javascripts/jquery-ui/escape-selector.js +23 -0
- data/app/assets/javascripts/jquery-ui/focusable.js +86 -0
- data/app/assets/javascripts/jquery-ui/form-reset-mixin.js +80 -0
- data/app/assets/javascripts/jquery-ui/form.js +22 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-af.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ar-DZ.js +39 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ar.js +39 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-az.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-be.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-bg.js +38 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-bs.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ca.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-cs.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-cy-GB.js +45 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-da.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-de.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-el.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-AU.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-GB.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-NZ.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-eo.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-es.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-et.js +45 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-eu.js +36 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fa.js +73 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fi.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fo.js +45 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr-CA.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr-CH.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr.js +39 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-gl.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-he.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-hi.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-hr.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-hu.js +36 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-hy.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-id.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-is.js +45 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-it-CH.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-it.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ja.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ka.js +48 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-kk.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-km.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ko.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ky.js +38 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-lb.js +45 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-lt.js +45 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-lv.js +45 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-mk.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ml.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ms.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-nb.js +49 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-nl-BE.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-nl.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-nn.js +49 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-no.js +50 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-pl.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-pt-BR.js +45 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-pt.js +44 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-rm.js +61 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ro.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ru.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sk.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sl.js +38 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sq.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sr-SR.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sr.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sv.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ta.js +53 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-th.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-tj.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-tr.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-uk.js +38 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-vi.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-CN.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-HK.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-TW.js +37 -0
- data/app/assets/javascripts/jquery-ui/ie.js +17 -0
- data/app/assets/javascripts/jquery-ui/jquery-1-7.js +91 -0
- data/app/assets/javascripts/jquery-ui/keycode.js +47 -0
- data/app/assets/javascripts/jquery-ui/labels.js +65 -0
- data/app/assets/javascripts/jquery-ui/plugin.js +46 -0
- data/app/assets/javascripts/jquery-ui/position.js +92 -109
- data/app/assets/javascripts/jquery-ui/safe-active-element.js +42 -0
- data/app/assets/javascripts/jquery-ui/safe-blur.js +23 -0
- data/app/assets/javascripts/jquery-ui/scroll-parent.js +47 -0
- data/app/assets/javascripts/jquery-ui/tabbable.js +38 -0
- data/app/assets/javascripts/jquery-ui/unique-id.js +51 -0
- data/app/assets/javascripts/jquery-ui/version.js +17 -0
- data/app/assets/javascripts/jquery-ui/widget.js +328 -151
- data/app/assets/javascripts/jquery-ui/{accordion.js → widgets/accordion.js} +187 -162
- data/app/assets/javascripts/jquery-ui/{autocomplete.js → widgets/autocomplete.js} +148 -92
- data/app/assets/javascripts/jquery-ui/widgets/button.js +391 -0
- data/app/assets/javascripts/jquery-ui/widgets/checkboxradio.js +291 -0
- data/app/assets/javascripts/jquery-ui/widgets/controlgroup.js +300 -0
- data/app/assets/javascripts/jquery-ui/widgets/datepicker.js +2123 -0
- data/app/assets/javascripts/jquery-ui/{dialog.js → widgets/dialog.js} +229 -158
- data/app/assets/javascripts/jquery-ui/{draggable.js → widgets/draggable.js} +416 -293
- data/app/assets/javascripts/jquery-ui/{droppable.js → widgets/droppable.js} +167 -83
- data/app/assets/javascripts/jquery-ui/{menu.js → widgets/menu.js} +164 -134
- data/app/assets/javascripts/jquery-ui/widgets/mouse.js +230 -0
- data/app/assets/javascripts/jquery-ui/{progressbar.js → widgets/progressbar.js} +60 -41
- data/app/assets/javascripts/jquery-ui/{resizable.js → widgets/resizable.js} +413 -362
- data/app/assets/javascripts/jquery-ui/widgets/selectable.js +314 -0
- data/app/assets/javascripts/jquery-ui/{selectmenu.js → widgets/selectmenu.js} +253 -176
- data/app/assets/javascripts/jquery-ui/{slider.js → widgets/slider.js} +193 -157
- data/app/assets/javascripts/jquery-ui/widgets/sortable.js +1561 -0
- data/app/assets/javascripts/jquery-ui/{spinner.js → widgets/spinner.js} +175 -112
- data/app/assets/javascripts/jquery-ui/{tabs.js → widgets/tabs.js} +237 -195
- data/app/assets/javascripts/jquery-ui/{tooltip.js → widgets/tooltip.js} +136 -87
- data/app/assets/javascripts/jquery-ui.js +52 -33
- data/app/assets/stylesheets/jquery-ui/accordion.css +1 -15
- data/app/assets/stylesheets/jquery-ui/all.css +1 -1
- data/app/assets/stylesheets/jquery-ui/autocomplete.css +1 -3
- data/app/assets/stylesheets/jquery-ui/base.css +3 -1
- data/app/assets/stylesheets/jquery-ui/button.css +35 -68
- data/app/assets/stylesheets/jquery-ui/checkboxradio.css +37 -0
- data/app/assets/stylesheets/jquery-ui/controlgroup.css +68 -0
- data/app/assets/stylesheets/jquery-ui/core.css +11 -7
- data/app/assets/stylesheets/jquery-ui/datepicker.css +11 -2
- data/app/assets/stylesheets/jquery-ui/dialog.css +38 -11
- data/app/assets/stylesheets/jquery-ui/draggable.css +1 -2
- data/app/assets/stylesheets/jquery-ui/menu.css +7 -7
- data/app/assets/stylesheets/jquery-ui/progressbar.css +1 -2
- data/app/assets/stylesheets/jquery-ui/resizable.css +1 -2
- data/app/assets/stylesheets/jquery-ui/selectable.css +1 -2
- data/app/assets/stylesheets/jquery-ui/selectmenu.css +11 -22
- data/app/assets/stylesheets/jquery-ui/slider.css +1 -2
- data/app/assets/stylesheets/jquery-ui/sortable.css +1 -2
- data/app/assets/stylesheets/jquery-ui/spinner.css +7 -22
- data/app/assets/stylesheets/jquery-ui/tabs.css +1 -2
- data/app/assets/stylesheets/jquery-ui/theme.css.erb +113 -87
- data/app/assets/stylesheets/jquery-ui/tooltip.css +1 -4
- data/lib/jquery/ui/rails/version.rb +2 -2
- metadata +150 -144
- data/app/assets/images/jquery-ui/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_222222_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_2e83ff_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_454545_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_888888_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_cd0a0a_256x240.png +0 -0
- data/app/assets/javascripts/jquery-ui/button.js +0 -414
- data/app/assets/javascripts/jquery-ui/datepicker-af.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-ar-DZ.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-ar.js +0 -38
- data/app/assets/javascripts/jquery-ui/datepicker-az.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-be.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-bg.js +0 -38
- data/app/assets/javascripts/jquery-ui/datepicker-bs.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-ca.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-cs.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-cy-GB.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-da.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-de.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-el.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-en-AU.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-en-GB.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-en-NZ.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-eo.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-es.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-et.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-eu.js +0 -36
- data/app/assets/javascripts/jquery-ui/datepicker-fa.js +0 -73
- data/app/assets/javascripts/jquery-ui/datepicker-fi.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-fo.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-fr-CA.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-fr-CH.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-fr.js +0 -39
- data/app/assets/javascripts/jquery-ui/datepicker-gl.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-he.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-hi.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-hr.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-hu.js +0 -36
- data/app/assets/javascripts/jquery-ui/datepicker-hy.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-id.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-is.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-it-CH.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-it.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-ja.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-ka.js +0 -35
- data/app/assets/javascripts/jquery-ui/datepicker-kk.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-km.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-ko.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-ky.js +0 -38
- data/app/assets/javascripts/jquery-ui/datepicker-lb.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-lt.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-lv.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-mk.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-ml.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-ms.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-nb.js +0 -36
- data/app/assets/javascripts/jquery-ui/datepicker-nl-BE.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-nl.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-nn.js +0 -36
- data/app/assets/javascripts/jquery-ui/datepicker-no.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-pl.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-pt-BR.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-pt.js +0 -36
- data/app/assets/javascripts/jquery-ui/datepicker-rm.js +0 -35
- data/app/assets/javascripts/jquery-ui/datepicker-ro.js +0 -40
- data/app/assets/javascripts/jquery-ui/datepicker-ru.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-sk.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-sl.js +0 -38
- data/app/assets/javascripts/jquery-ui/datepicker-sq.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-sr-SR.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-sr.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-sv.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-ta.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-th.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-tj.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-tr.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-uk.js +0 -38
- data/app/assets/javascripts/jquery-ui/datepicker-vi.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-zh-CN.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-zh-HK.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-zh-TW.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker.js +0 -2086
- data/app/assets/javascripts/jquery-ui/effect-blind.js +0 -92
- data/app/assets/javascripts/jquery-ui/effect-bounce.js +0 -125
- data/app/assets/javascripts/jquery-ui/effect-clip.js +0 -79
- data/app/assets/javascripts/jquery-ui/effect-drop.js +0 -77
- data/app/assets/javascripts/jquery-ui/effect-explode.js +0 -109
- data/app/assets/javascripts/jquery-ui/effect-fade.js +0 -42
- data/app/assets/javascripts/jquery-ui/effect-fold.js +0 -88
- data/app/assets/javascripts/jquery-ui/effect-highlight.js +0 -62
- data/app/assets/javascripts/jquery-ui/effect-puff.js +0 -63
- data/app/assets/javascripts/jquery-ui/effect-pulsate.js +0 -75
- data/app/assets/javascripts/jquery-ui/effect-scale.js +0 -92
- data/app/assets/javascripts/jquery-ui/effect-shake.js +0 -86
- data/app/assets/javascripts/jquery-ui/effect-size.js +0 -235
- data/app/assets/javascripts/jquery-ui/effect-slide.js +0 -76
- data/app/assets/javascripts/jquery-ui/effect-transfer.js +0 -59
- data/app/assets/javascripts/jquery-ui/mouse.js +0 -202
- data/app/assets/javascripts/jquery-ui/selectable.js +0 -291
- data/app/assets/javascripts/jquery-ui/sortable.js +0 -1319
@@ -1,92 +0,0 @@
|
|
1
|
-
//= require jquery-ui/effect
|
2
|
-
|
3
|
-
/*!
|
4
|
-
* jQuery UI Effects Blind 1.11.4
|
5
|
-
* http://jqueryui.com
|
6
|
-
*
|
7
|
-
* Copyright jQuery Foundation and other contributors
|
8
|
-
* Released under the MIT license.
|
9
|
-
* http://jquery.org/license
|
10
|
-
*
|
11
|
-
* http://api.jqueryui.com/blind-effect/
|
12
|
-
*/
|
13
|
-
(function( factory ) {
|
14
|
-
if ( typeof define === "function" && define.amd ) {
|
15
|
-
|
16
|
-
// AMD. Register as an anonymous module.
|
17
|
-
define([
|
18
|
-
"jquery",
|
19
|
-
"./effect"
|
20
|
-
], factory );
|
21
|
-
} else {
|
22
|
-
|
23
|
-
// Browser globals
|
24
|
-
factory( jQuery );
|
25
|
-
}
|
26
|
-
}(function( $ ) {
|
27
|
-
|
28
|
-
return $.effects.effect.blind = function( o, done ) {
|
29
|
-
// Create element
|
30
|
-
var el = $( this ),
|
31
|
-
rvertical = /up|down|vertical/,
|
32
|
-
rpositivemotion = /up|left|vertical|horizontal/,
|
33
|
-
props = [ "position", "top", "bottom", "left", "right", "height", "width" ],
|
34
|
-
mode = $.effects.setMode( el, o.mode || "hide" ),
|
35
|
-
direction = o.direction || "up",
|
36
|
-
vertical = rvertical.test( direction ),
|
37
|
-
ref = vertical ? "height" : "width",
|
38
|
-
ref2 = vertical ? "top" : "left",
|
39
|
-
motion = rpositivemotion.test( direction ),
|
40
|
-
animation = {},
|
41
|
-
show = mode === "show",
|
42
|
-
wrapper, distance, margin;
|
43
|
-
|
44
|
-
// if already wrapped, the wrapper's properties are my property. #6245
|
45
|
-
if ( el.parent().is( ".ui-effects-wrapper" ) ) {
|
46
|
-
$.effects.save( el.parent(), props );
|
47
|
-
} else {
|
48
|
-
$.effects.save( el, props );
|
49
|
-
}
|
50
|
-
el.show();
|
51
|
-
wrapper = $.effects.createWrapper( el ).css({
|
52
|
-
overflow: "hidden"
|
53
|
-
});
|
54
|
-
|
55
|
-
distance = wrapper[ ref ]();
|
56
|
-
margin = parseFloat( wrapper.css( ref2 ) ) || 0;
|
57
|
-
|
58
|
-
animation[ ref ] = show ? distance : 0;
|
59
|
-
if ( !motion ) {
|
60
|
-
el
|
61
|
-
.css( vertical ? "bottom" : "right", 0 )
|
62
|
-
.css( vertical ? "top" : "left", "auto" )
|
63
|
-
.css({ position: "absolute" });
|
64
|
-
|
65
|
-
animation[ ref2 ] = show ? margin : distance + margin;
|
66
|
-
}
|
67
|
-
|
68
|
-
// start at 0 if we are showing
|
69
|
-
if ( show ) {
|
70
|
-
wrapper.css( ref, 0 );
|
71
|
-
if ( !motion ) {
|
72
|
-
wrapper.css( ref2, margin + distance );
|
73
|
-
}
|
74
|
-
}
|
75
|
-
|
76
|
-
// Animate
|
77
|
-
wrapper.animate( animation, {
|
78
|
-
duration: o.duration,
|
79
|
-
easing: o.easing,
|
80
|
-
queue: false,
|
81
|
-
complete: function() {
|
82
|
-
if ( mode === "hide" ) {
|
83
|
-
el.hide();
|
84
|
-
}
|
85
|
-
$.effects.restore( el, props );
|
86
|
-
$.effects.removeWrapper( el );
|
87
|
-
done();
|
88
|
-
}
|
89
|
-
});
|
90
|
-
};
|
91
|
-
|
92
|
-
}));
|
@@ -1,125 +0,0 @@
|
|
1
|
-
//= require jquery-ui/effect
|
2
|
-
|
3
|
-
/*!
|
4
|
-
* jQuery UI Effects Bounce 1.11.4
|
5
|
-
* http://jqueryui.com
|
6
|
-
*
|
7
|
-
* Copyright jQuery Foundation and other contributors
|
8
|
-
* Released under the MIT license.
|
9
|
-
* http://jquery.org/license
|
10
|
-
*
|
11
|
-
* http://api.jqueryui.com/bounce-effect/
|
12
|
-
*/
|
13
|
-
(function( factory ) {
|
14
|
-
if ( typeof define === "function" && define.amd ) {
|
15
|
-
|
16
|
-
// AMD. Register as an anonymous module.
|
17
|
-
define([
|
18
|
-
"jquery",
|
19
|
-
"./effect"
|
20
|
-
], factory );
|
21
|
-
} else {
|
22
|
-
|
23
|
-
// Browser globals
|
24
|
-
factory( jQuery );
|
25
|
-
}
|
26
|
-
}(function( $ ) {
|
27
|
-
|
28
|
-
return $.effects.effect.bounce = function( o, done ) {
|
29
|
-
var el = $( this ),
|
30
|
-
props = [ "position", "top", "bottom", "left", "right", "height", "width" ],
|
31
|
-
|
32
|
-
// defaults:
|
33
|
-
mode = $.effects.setMode( el, o.mode || "effect" ),
|
34
|
-
hide = mode === "hide",
|
35
|
-
show = mode === "show",
|
36
|
-
direction = o.direction || "up",
|
37
|
-
distance = o.distance,
|
38
|
-
times = o.times || 5,
|
39
|
-
|
40
|
-
// number of internal animations
|
41
|
-
anims = times * 2 + ( show || hide ? 1 : 0 ),
|
42
|
-
speed = o.duration / anims,
|
43
|
-
easing = o.easing,
|
44
|
-
|
45
|
-
// utility:
|
46
|
-
ref = ( direction === "up" || direction === "down" ) ? "top" : "left",
|
47
|
-
motion = ( direction === "up" || direction === "left" ),
|
48
|
-
i,
|
49
|
-
upAnim,
|
50
|
-
downAnim,
|
51
|
-
|
52
|
-
// we will need to re-assemble the queue to stack our animations in place
|
53
|
-
queue = el.queue(),
|
54
|
-
queuelen = queue.length;
|
55
|
-
|
56
|
-
// Avoid touching opacity to prevent clearType and PNG issues in IE
|
57
|
-
if ( show || hide ) {
|
58
|
-
props.push( "opacity" );
|
59
|
-
}
|
60
|
-
|
61
|
-
$.effects.save( el, props );
|
62
|
-
el.show();
|
63
|
-
$.effects.createWrapper( el ); // Create Wrapper
|
64
|
-
|
65
|
-
// default distance for the BIGGEST bounce is the outer Distance / 3
|
66
|
-
if ( !distance ) {
|
67
|
-
distance = el[ ref === "top" ? "outerHeight" : "outerWidth" ]() / 3;
|
68
|
-
}
|
69
|
-
|
70
|
-
if ( show ) {
|
71
|
-
downAnim = { opacity: 1 };
|
72
|
-
downAnim[ ref ] = 0;
|
73
|
-
|
74
|
-
// if we are showing, force opacity 0 and set the initial position
|
75
|
-
// then do the "first" animation
|
76
|
-
el.css( "opacity", 0 )
|
77
|
-
.css( ref, motion ? -distance * 2 : distance * 2 )
|
78
|
-
.animate( downAnim, speed, easing );
|
79
|
-
}
|
80
|
-
|
81
|
-
// start at the smallest distance if we are hiding
|
82
|
-
if ( hide ) {
|
83
|
-
distance = distance / Math.pow( 2, times - 1 );
|
84
|
-
}
|
85
|
-
|
86
|
-
downAnim = {};
|
87
|
-
downAnim[ ref ] = 0;
|
88
|
-
// Bounces up/down/left/right then back to 0 -- times * 2 animations happen here
|
89
|
-
for ( i = 0; i < times; i++ ) {
|
90
|
-
upAnim = {};
|
91
|
-
upAnim[ ref ] = ( motion ? "-=" : "+=" ) + distance;
|
92
|
-
|
93
|
-
el.animate( upAnim, speed, easing )
|
94
|
-
.animate( downAnim, speed, easing );
|
95
|
-
|
96
|
-
distance = hide ? distance * 2 : distance / 2;
|
97
|
-
}
|
98
|
-
|
99
|
-
// Last Bounce when Hiding
|
100
|
-
if ( hide ) {
|
101
|
-
upAnim = { opacity: 0 };
|
102
|
-
upAnim[ ref ] = ( motion ? "-=" : "+=" ) + distance;
|
103
|
-
|
104
|
-
el.animate( upAnim, speed, easing );
|
105
|
-
}
|
106
|
-
|
107
|
-
el.queue(function() {
|
108
|
-
if ( hide ) {
|
109
|
-
el.hide();
|
110
|
-
}
|
111
|
-
$.effects.restore( el, props );
|
112
|
-
$.effects.removeWrapper( el );
|
113
|
-
done();
|
114
|
-
});
|
115
|
-
|
116
|
-
// inject all the animations we just queued to be first in line (after "inprogress")
|
117
|
-
if ( queuelen > 1) {
|
118
|
-
queue.splice.apply( queue,
|
119
|
-
[ 1, 0 ].concat( queue.splice( queuelen, anims + 1 ) ) );
|
120
|
-
}
|
121
|
-
el.dequeue();
|
122
|
-
|
123
|
-
};
|
124
|
-
|
125
|
-
}));
|
@@ -1,79 +0,0 @@
|
|
1
|
-
//= require jquery-ui/effect
|
2
|
-
|
3
|
-
/*!
|
4
|
-
* jQuery UI Effects Clip 1.11.4
|
5
|
-
* http://jqueryui.com
|
6
|
-
*
|
7
|
-
* Copyright jQuery Foundation and other contributors
|
8
|
-
* Released under the MIT license.
|
9
|
-
* http://jquery.org/license
|
10
|
-
*
|
11
|
-
* http://api.jqueryui.com/clip-effect/
|
12
|
-
*/
|
13
|
-
(function( factory ) {
|
14
|
-
if ( typeof define === "function" && define.amd ) {
|
15
|
-
|
16
|
-
// AMD. Register as an anonymous module.
|
17
|
-
define([
|
18
|
-
"jquery",
|
19
|
-
"./effect"
|
20
|
-
], factory );
|
21
|
-
} else {
|
22
|
-
|
23
|
-
// Browser globals
|
24
|
-
factory( jQuery );
|
25
|
-
}
|
26
|
-
}(function( $ ) {
|
27
|
-
|
28
|
-
return $.effects.effect.clip = function( o, done ) {
|
29
|
-
// Create element
|
30
|
-
var el = $( this ),
|
31
|
-
props = [ "position", "top", "bottom", "left", "right", "height", "width" ],
|
32
|
-
mode = $.effects.setMode( el, o.mode || "hide" ),
|
33
|
-
show = mode === "show",
|
34
|
-
direction = o.direction || "vertical",
|
35
|
-
vert = direction === "vertical",
|
36
|
-
size = vert ? "height" : "width",
|
37
|
-
position = vert ? "top" : "left",
|
38
|
-
animation = {},
|
39
|
-
wrapper, animate, distance;
|
40
|
-
|
41
|
-
// Save & Show
|
42
|
-
$.effects.save( el, props );
|
43
|
-
el.show();
|
44
|
-
|
45
|
-
// Create Wrapper
|
46
|
-
wrapper = $.effects.createWrapper( el ).css({
|
47
|
-
overflow: "hidden"
|
48
|
-
});
|
49
|
-
animate = ( el[0].tagName === "IMG" ) ? wrapper : el;
|
50
|
-
distance = animate[ size ]();
|
51
|
-
|
52
|
-
// Shift
|
53
|
-
if ( show ) {
|
54
|
-
animate.css( size, 0 );
|
55
|
-
animate.css( position, distance / 2 );
|
56
|
-
}
|
57
|
-
|
58
|
-
// Create Animation Object:
|
59
|
-
animation[ size ] = show ? distance : 0;
|
60
|
-
animation[ position ] = show ? 0 : distance / 2;
|
61
|
-
|
62
|
-
// Animate
|
63
|
-
animate.animate( animation, {
|
64
|
-
queue: false,
|
65
|
-
duration: o.duration,
|
66
|
-
easing: o.easing,
|
67
|
-
complete: function() {
|
68
|
-
if ( !show ) {
|
69
|
-
el.hide();
|
70
|
-
}
|
71
|
-
$.effects.restore( el, props );
|
72
|
-
$.effects.removeWrapper( el );
|
73
|
-
done();
|
74
|
-
}
|
75
|
-
});
|
76
|
-
|
77
|
-
};
|
78
|
-
|
79
|
-
}));
|
@@ -1,77 +0,0 @@
|
|
1
|
-
//= require jquery-ui/effect
|
2
|
-
|
3
|
-
/*!
|
4
|
-
* jQuery UI Effects Drop 1.11.4
|
5
|
-
* http://jqueryui.com
|
6
|
-
*
|
7
|
-
* Copyright jQuery Foundation and other contributors
|
8
|
-
* Released under the MIT license.
|
9
|
-
* http://jquery.org/license
|
10
|
-
*
|
11
|
-
* http://api.jqueryui.com/drop-effect/
|
12
|
-
*/
|
13
|
-
(function( factory ) {
|
14
|
-
if ( typeof define === "function" && define.amd ) {
|
15
|
-
|
16
|
-
// AMD. Register as an anonymous module.
|
17
|
-
define([
|
18
|
-
"jquery",
|
19
|
-
"./effect"
|
20
|
-
], factory );
|
21
|
-
} else {
|
22
|
-
|
23
|
-
// Browser globals
|
24
|
-
factory( jQuery );
|
25
|
-
}
|
26
|
-
}(function( $ ) {
|
27
|
-
|
28
|
-
return $.effects.effect.drop = function( o, done ) {
|
29
|
-
|
30
|
-
var el = $( this ),
|
31
|
-
props = [ "position", "top", "bottom", "left", "right", "opacity", "height", "width" ],
|
32
|
-
mode = $.effects.setMode( el, o.mode || "hide" ),
|
33
|
-
show = mode === "show",
|
34
|
-
direction = o.direction || "left",
|
35
|
-
ref = ( direction === "up" || direction === "down" ) ? "top" : "left",
|
36
|
-
motion = ( direction === "up" || direction === "left" ) ? "pos" : "neg",
|
37
|
-
animation = {
|
38
|
-
opacity: show ? 1 : 0
|
39
|
-
},
|
40
|
-
distance;
|
41
|
-
|
42
|
-
// Adjust
|
43
|
-
$.effects.save( el, props );
|
44
|
-
el.show();
|
45
|
-
$.effects.createWrapper( el );
|
46
|
-
|
47
|
-
distance = o.distance || el[ ref === "top" ? "outerHeight" : "outerWidth" ]( true ) / 2;
|
48
|
-
|
49
|
-
if ( show ) {
|
50
|
-
el
|
51
|
-
.css( "opacity", 0 )
|
52
|
-
.css( ref, motion === "pos" ? -distance : distance );
|
53
|
-
}
|
54
|
-
|
55
|
-
// Animation
|
56
|
-
animation[ ref ] = ( show ?
|
57
|
-
( motion === "pos" ? "+=" : "-=" ) :
|
58
|
-
( motion === "pos" ? "-=" : "+=" ) ) +
|
59
|
-
distance;
|
60
|
-
|
61
|
-
// Animate
|
62
|
-
el.animate( animation, {
|
63
|
-
queue: false,
|
64
|
-
duration: o.duration,
|
65
|
-
easing: o.easing,
|
66
|
-
complete: function() {
|
67
|
-
if ( mode === "hide" ) {
|
68
|
-
el.hide();
|
69
|
-
}
|
70
|
-
$.effects.restore( el, props );
|
71
|
-
$.effects.removeWrapper( el );
|
72
|
-
done();
|
73
|
-
}
|
74
|
-
});
|
75
|
-
};
|
76
|
-
|
77
|
-
}));
|
@@ -1,109 +0,0 @@
|
|
1
|
-
//= require jquery-ui/effect
|
2
|
-
|
3
|
-
/*!
|
4
|
-
* jQuery UI Effects Explode 1.11.4
|
5
|
-
* http://jqueryui.com
|
6
|
-
*
|
7
|
-
* Copyright jQuery Foundation and other contributors
|
8
|
-
* Released under the MIT license.
|
9
|
-
* http://jquery.org/license
|
10
|
-
*
|
11
|
-
* http://api.jqueryui.com/explode-effect/
|
12
|
-
*/
|
13
|
-
(function( factory ) {
|
14
|
-
if ( typeof define === "function" && define.amd ) {
|
15
|
-
|
16
|
-
// AMD. Register as an anonymous module.
|
17
|
-
define([
|
18
|
-
"jquery",
|
19
|
-
"./effect"
|
20
|
-
], factory );
|
21
|
-
} else {
|
22
|
-
|
23
|
-
// Browser globals
|
24
|
-
factory( jQuery );
|
25
|
-
}
|
26
|
-
}(function( $ ) {
|
27
|
-
|
28
|
-
return $.effects.effect.explode = function( o, done ) {
|
29
|
-
|
30
|
-
var rows = o.pieces ? Math.round( Math.sqrt( o.pieces ) ) : 3,
|
31
|
-
cells = rows,
|
32
|
-
el = $( this ),
|
33
|
-
mode = $.effects.setMode( el, o.mode || "hide" ),
|
34
|
-
show = mode === "show",
|
35
|
-
|
36
|
-
// show and then visibility:hidden the element before calculating offset
|
37
|
-
offset = el.show().css( "visibility", "hidden" ).offset(),
|
38
|
-
|
39
|
-
// width and height of a piece
|
40
|
-
width = Math.ceil( el.outerWidth() / cells ),
|
41
|
-
height = Math.ceil( el.outerHeight() / rows ),
|
42
|
-
pieces = [],
|
43
|
-
|
44
|
-
// loop
|
45
|
-
i, j, left, top, mx, my;
|
46
|
-
|
47
|
-
// children animate complete:
|
48
|
-
function childComplete() {
|
49
|
-
pieces.push( this );
|
50
|
-
if ( pieces.length === rows * cells ) {
|
51
|
-
animComplete();
|
52
|
-
}
|
53
|
-
}
|
54
|
-
|
55
|
-
// clone the element for each row and cell.
|
56
|
-
for ( i = 0; i < rows ; i++ ) { // ===>
|
57
|
-
top = offset.top + i * height;
|
58
|
-
my = i - ( rows - 1 ) / 2 ;
|
59
|
-
|
60
|
-
for ( j = 0; j < cells ; j++ ) { // |||
|
61
|
-
left = offset.left + j * width;
|
62
|
-
mx = j - ( cells - 1 ) / 2 ;
|
63
|
-
|
64
|
-
// Create a clone of the now hidden main element that will be absolute positioned
|
65
|
-
// within a wrapper div off the -left and -top equal to size of our pieces
|
66
|
-
el
|
67
|
-
.clone()
|
68
|
-
.appendTo( "body" )
|
69
|
-
.wrap( "<div></div>" )
|
70
|
-
.css({
|
71
|
-
position: "absolute",
|
72
|
-
visibility: "visible",
|
73
|
-
left: -j * width,
|
74
|
-
top: -i * height
|
75
|
-
})
|
76
|
-
|
77
|
-
// select the wrapper - make it overflow: hidden and absolute positioned based on
|
78
|
-
// where the original was located +left and +top equal to the size of pieces
|
79
|
-
.parent()
|
80
|
-
.addClass( "ui-effects-explode" )
|
81
|
-
.css({
|
82
|
-
position: "absolute",
|
83
|
-
overflow: "hidden",
|
84
|
-
width: width,
|
85
|
-
height: height,
|
86
|
-
left: left + ( show ? mx * width : 0 ),
|
87
|
-
top: top + ( show ? my * height : 0 ),
|
88
|
-
opacity: show ? 0 : 1
|
89
|
-
}).animate({
|
90
|
-
left: left + ( show ? 0 : mx * width ),
|
91
|
-
top: top + ( show ? 0 : my * height ),
|
92
|
-
opacity: show ? 1 : 0
|
93
|
-
}, o.duration || 500, o.easing, childComplete );
|
94
|
-
}
|
95
|
-
}
|
96
|
-
|
97
|
-
function animComplete() {
|
98
|
-
el.css({
|
99
|
-
visibility: "visible"
|
100
|
-
});
|
101
|
-
$( pieces ).remove();
|
102
|
-
if ( !show ) {
|
103
|
-
el.hide();
|
104
|
-
}
|
105
|
-
done();
|
106
|
-
}
|
107
|
-
};
|
108
|
-
|
109
|
-
}));
|
@@ -1,42 +0,0 @@
|
|
1
|
-
//= require jquery-ui/effect
|
2
|
-
|
3
|
-
/*!
|
4
|
-
* jQuery UI Effects Fade 1.11.4
|
5
|
-
* http://jqueryui.com
|
6
|
-
*
|
7
|
-
* Copyright jQuery Foundation and other contributors
|
8
|
-
* Released under the MIT license.
|
9
|
-
* http://jquery.org/license
|
10
|
-
*
|
11
|
-
* http://api.jqueryui.com/fade-effect/
|
12
|
-
*/
|
13
|
-
(function( factory ) {
|
14
|
-
if ( typeof define === "function" && define.amd ) {
|
15
|
-
|
16
|
-
// AMD. Register as an anonymous module.
|
17
|
-
define([
|
18
|
-
"jquery",
|
19
|
-
"./effect"
|
20
|
-
], factory );
|
21
|
-
} else {
|
22
|
-
|
23
|
-
// Browser globals
|
24
|
-
factory( jQuery );
|
25
|
-
}
|
26
|
-
}(function( $ ) {
|
27
|
-
|
28
|
-
return $.effects.effect.fade = function( o, done ) {
|
29
|
-
var el = $( this ),
|
30
|
-
mode = $.effects.setMode( el, o.mode || "toggle" );
|
31
|
-
|
32
|
-
el.animate({
|
33
|
-
opacity: mode
|
34
|
-
}, {
|
35
|
-
queue: false,
|
36
|
-
duration: o.duration,
|
37
|
-
easing: o.easing,
|
38
|
-
complete: done
|
39
|
-
});
|
40
|
-
};
|
41
|
-
|
42
|
-
}));
|
@@ -1,88 +0,0 @@
|
|
1
|
-
//= require jquery-ui/effect
|
2
|
-
|
3
|
-
/*!
|
4
|
-
* jQuery UI Effects Fold 1.11.4
|
5
|
-
* http://jqueryui.com
|
6
|
-
*
|
7
|
-
* Copyright jQuery Foundation and other contributors
|
8
|
-
* Released under the MIT license.
|
9
|
-
* http://jquery.org/license
|
10
|
-
*
|
11
|
-
* http://api.jqueryui.com/fold-effect/
|
12
|
-
*/
|
13
|
-
(function( factory ) {
|
14
|
-
if ( typeof define === "function" && define.amd ) {
|
15
|
-
|
16
|
-
// AMD. Register as an anonymous module.
|
17
|
-
define([
|
18
|
-
"jquery",
|
19
|
-
"./effect"
|
20
|
-
], factory );
|
21
|
-
} else {
|
22
|
-
|
23
|
-
// Browser globals
|
24
|
-
factory( jQuery );
|
25
|
-
}
|
26
|
-
}(function( $ ) {
|
27
|
-
|
28
|
-
return $.effects.effect.fold = function( o, done ) {
|
29
|
-
|
30
|
-
// Create element
|
31
|
-
var el = $( this ),
|
32
|
-
props = [ "position", "top", "bottom", "left", "right", "height", "width" ],
|
33
|
-
mode = $.effects.setMode( el, o.mode || "hide" ),
|
34
|
-
show = mode === "show",
|
35
|
-
hide = mode === "hide",
|
36
|
-
size = o.size || 15,
|
37
|
-
percent = /([0-9]+)%/.exec( size ),
|
38
|
-
horizFirst = !!o.horizFirst,
|
39
|
-
widthFirst = show !== horizFirst,
|
40
|
-
ref = widthFirst ? [ "width", "height" ] : [ "height", "width" ],
|
41
|
-
duration = o.duration / 2,
|
42
|
-
wrapper, distance,
|
43
|
-
animation1 = {},
|
44
|
-
animation2 = {};
|
45
|
-
|
46
|
-
$.effects.save( el, props );
|
47
|
-
el.show();
|
48
|
-
|
49
|
-
// Create Wrapper
|
50
|
-
wrapper = $.effects.createWrapper( el ).css({
|
51
|
-
overflow: "hidden"
|
52
|
-
});
|
53
|
-
distance = widthFirst ?
|
54
|
-
[ wrapper.width(), wrapper.height() ] :
|
55
|
-
[ wrapper.height(), wrapper.width() ];
|
56
|
-
|
57
|
-
if ( percent ) {
|
58
|
-
size = parseInt( percent[ 1 ], 10 ) / 100 * distance[ hide ? 0 : 1 ];
|
59
|
-
}
|
60
|
-
if ( show ) {
|
61
|
-
wrapper.css( horizFirst ? {
|
62
|
-
height: 0,
|
63
|
-
width: size
|
64
|
-
} : {
|
65
|
-
height: size,
|
66
|
-
width: 0
|
67
|
-
});
|
68
|
-
}
|
69
|
-
|
70
|
-
// Animation
|
71
|
-
animation1[ ref[ 0 ] ] = show ? distance[ 0 ] : size;
|
72
|
-
animation2[ ref[ 1 ] ] = show ? distance[ 1 ] : 0;
|
73
|
-
|
74
|
-
// Animate
|
75
|
-
wrapper
|
76
|
-
.animate( animation1, duration, o.easing )
|
77
|
-
.animate( animation2, duration, o.easing, function() {
|
78
|
-
if ( hide ) {
|
79
|
-
el.hide();
|
80
|
-
}
|
81
|
-
$.effects.restore( el, props );
|
82
|
-
$.effects.removeWrapper( el );
|
83
|
-
done();
|
84
|
-
});
|
85
|
-
|
86
|
-
};
|
87
|
-
|
88
|
-
}));
|
@@ -1,62 +0,0 @@
|
|
1
|
-
//= require jquery-ui/effect
|
2
|
-
|
3
|
-
/*!
|
4
|
-
* jQuery UI Effects Highlight 1.11.4
|
5
|
-
* http://jqueryui.com
|
6
|
-
*
|
7
|
-
* Copyright jQuery Foundation and other contributors
|
8
|
-
* Released under the MIT license.
|
9
|
-
* http://jquery.org/license
|
10
|
-
*
|
11
|
-
* http://api.jqueryui.com/highlight-effect/
|
12
|
-
*/
|
13
|
-
(function( factory ) {
|
14
|
-
if ( typeof define === "function" && define.amd ) {
|
15
|
-
|
16
|
-
// AMD. Register as an anonymous module.
|
17
|
-
define([
|
18
|
-
"jquery",
|
19
|
-
"./effect"
|
20
|
-
], factory );
|
21
|
-
} else {
|
22
|
-
|
23
|
-
// Browser globals
|
24
|
-
factory( jQuery );
|
25
|
-
}
|
26
|
-
}(function( $ ) {
|
27
|
-
|
28
|
-
return $.effects.effect.highlight = function( o, done ) {
|
29
|
-
var elem = $( this ),
|
30
|
-
props = [ "backgroundImage", "backgroundColor", "opacity" ],
|
31
|
-
mode = $.effects.setMode( elem, o.mode || "show" ),
|
32
|
-
animation = {
|
33
|
-
backgroundColor: elem.css( "backgroundColor" )
|
34
|
-
};
|
35
|
-
|
36
|
-
if (mode === "hide") {
|
37
|
-
animation.opacity = 0;
|
38
|
-
}
|
39
|
-
|
40
|
-
$.effects.save( elem, props );
|
41
|
-
|
42
|
-
elem
|
43
|
-
.show()
|
44
|
-
.css({
|
45
|
-
backgroundImage: "none",
|
46
|
-
backgroundColor: o.color || "#ffff99"
|
47
|
-
})
|
48
|
-
.animate( animation, {
|
49
|
-
queue: false,
|
50
|
-
duration: o.duration,
|
51
|
-
easing: o.easing,
|
52
|
-
complete: function() {
|
53
|
-
if ( mode === "hide" ) {
|
54
|
-
elem.hide();
|
55
|
-
}
|
56
|
-
$.effects.restore( elem, props );
|
57
|
-
done();
|
58
|
-
}
|
59
|
-
});
|
60
|
-
};
|
61
|
-
|
62
|
-
}));
|