From fc5b69fc706a6025e5084d4b86adb3b97840c84f Mon Sep 17 00:00:00 2001 From: John Resig Date: Fri, 17 Sep 2010 13:18:39 -0400 Subject: [PATCH] Bringing in the rdashAlpha/fcamelCase private var tweaks from the csshooks branch. --- src/effects.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/effects.js b/src/effects.js index 65b9e0f97..73d94ef34 100644 --- a/src/effects.js +++ b/src/effects.js @@ -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 ) { -- 2.39.5