diff options
author | John Resig <jeresig@gmail.com> | 2010-09-17 13:18:39 -0400 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2010-09-17 13:18:39 -0400 |
commit | fc5b69fc706a6025e5084d4b86adb3b97840c84f (patch) | |
tree | 3c6bc8f878504c57475d2a01f93a845af2629906 | |
parent | 492a2e2c5360a193b867df53e157a32af65f3f7e (diff) | |
download | jquery-fc5b69fc706a6025e5084d4b86adb3b97840c84f.tar.gz jquery-fc5b69fc706a6025e5084d4b86adb3b97840c84f.zip |
Bringing in the rdashAlpha/fcamelCase private var tweaks from the csshooks branch.
-rw-r--r-- | src/effects.js | 7 |
1 files changed, 6 insertions, 1 deletions
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 ) { |