aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/effects.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/effects.js b/src/effects.js
index 130b676f4..352ad4aea 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 ) {