Adding in a couple private variables to effects.js that were in css.js.
authorjeresig <jeresig@gmail.com>
Thu, 9 Sep 2010 19:45:24 +0000 (15:45 -0400)
committerjeresig <jeresig@gmail.com>
Thu, 9 Sep 2010 19:45:24 +0000 (15:45 -0400)
src/effects.js

index 130b676..352ad4a 100644 (file)
@@ -3,6 +3,7 @@
 var elemdisplay = {},
        rfxtypes = /toggle|show|hide/,
        rfxnum = /^([+\-]=)?([\d+.\-]+)(.*)$/,
+       rdashAlpha = /-([a-z])/ig,
        timerId,
        fxAttrs = [
                // height animations
@@ -11,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 ) {