Adding in a couple private variables to effects.js that were in css.js.
[jquery.git] / src / effects.js
index d31e2e3..352ad4a 100644 (file)
@@ -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 );