git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
492a2e2
)
Bringing in the rdashAlpha/fcamelCase private var tweaks from the csshooks branch.
author
John Resig
<jeresig@gmail.com>
Fri, 17 Sep 2010 17:18:39 +0000
(13:18 -0400)
committer
John Resig
<jeresig@gmail.com>
Fri, 17 Sep 2010 17:18:39 +0000
(13:18 -0400)
src/effects.js
patch
|
blob
|
history
diff --git
a/src/effects.js
b/src/effects.js
index
65b9e0f
..
73d94ef
100644
(file)
--- 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 ) {