X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Feffects.js;h=73d94ef3489b6f435a5d3c03e907977c4b73e920;hb=fc5b69fc706a6025e5084d4b86adb3b97840c84f;hp=40326e23da1b9a2a5f30b0bae31490bb82b2bfee;hpb=b3ccf2f2881d9ad988aba1cf3ccffb810063ab29;p=jquery.git diff --git a/src/effects.js b/src/effects.js index 40326e2..73d94ef 100644 --- a/src/effects.js +++ b/src/effects.js @@ -1,6 +1,9 @@ +(function( jQuery ) { + var elemdisplay = {}, rfxtypes = /toggle|show|hide/, rfxnum = /^([+\-]=)?([\d+.\-]+)(.*)$/, + rdashAlpha = /-([a-z])/ig, timerId, fxAttrs = [ // height animations @@ -9,7 +12,11 @@ var elemdisplay = {}, [ "width", "marginLeft", "marginRight", "paddingLeft", "paddingRight" ], // opacity animations [ "opacity" ] - ]; + ], + + fcamelCase = function( all, letter ) { + return letter.toUpperCase(); + }; jQuery.fn.extend({ show: function( speed, callback ) { @@ -480,3 +487,5 @@ if ( jQuery.expr && jQuery.expr.filters ) { }).length; }; } + +})( jQuery );