Last change
on this file since 18953 was
18953,
checked in by rvelices, 11 years ago
|
feature 2771 upgrade jquery ui - forgot to add non minimified files (not used anywhere in the code, but for the sake of coherence)
|
File size:
557 bytes
|
Line | |
---|
1 | /*! |
---|
2 | * jQuery UI Effects Fade 1.9.0 |
---|
3 | * http://jqueryui.com |
---|
4 | * |
---|
5 | * Copyright 2012 jQuery Foundation and other contributors |
---|
6 | * Released under the MIT license. |
---|
7 | * http://jquery.org/license |
---|
8 | * |
---|
9 | * http://api.jqueryui.com/fade-effect/ |
---|
10 | * |
---|
11 | * Depends: |
---|
12 | * jquery.ui.effect.js |
---|
13 | */ |
---|
14 | (function( $, undefined ) { |
---|
15 | |
---|
16 | $.effects.effect.fade = function( o, done ) { |
---|
17 | var el = $( this ), |
---|
18 | mode = $.effects.setMode( el, o.mode || "toggle" ); |
---|
19 | |
---|
20 | el.animate({ |
---|
21 | opacity: mode |
---|
22 | }, { |
---|
23 | queue: false, |
---|
24 | duration: o.duration, |
---|
25 | easing: o.easing, |
---|
26 | complete: done |
---|
27 | }); |
---|
28 | }; |
---|
29 | |
---|
30 | })( jQuery ); |
---|
Note: See
TracBrowser
for help on using the repository browser.