From: John Resig Date: Fri, 17 Sep 2010 17:18:39 +0000 (-0400) Subject: Bringing in the rdashAlpha/fcamelCase private var tweaks from the csshooks branch. X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=commitdiff_plain;h=fc5b69fc706a6025e5084d4b86adb3b97840c84f Bringing in the rdashAlpha/fcamelCase private var tweaks from the csshooks branch. --- diff --git a/src/effects.js b/src/effects.js index 65b9e0f..73d94ef 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 ) {