Bringing in the rdashAlpha/fcamelCase private var tweaks from the csshooks branch.

This commit is contained in:
John Resig 2010-09-17 13:18:39 -04:00
parent 492a2e2c53
commit fc5b69fc70

7
src/effects.js vendored
View file

@ -3,6 +3,7 @@
var elemdisplay = {}, var elemdisplay = {},
rfxtypes = /toggle|show|hide/, rfxtypes = /toggle|show|hide/,
rfxnum = /^([+\-]=)?([\d+.\-]+)(.*)$/, rfxnum = /^([+\-]=)?([\d+.\-]+)(.*)$/,
rdashAlpha = /-([a-z])/ig,
timerId, timerId,
fxAttrs = [ fxAttrs = [
// height animations // height animations
@ -11,7 +12,11 @@ var elemdisplay = {},
[ "width", "marginLeft", "marginRight", "paddingLeft", "paddingRight" ], [ "width", "marginLeft", "marginRight", "paddingLeft", "paddingRight" ],
// opacity animations // opacity animations
[ "opacity" ] [ "opacity" ]
]; ],
fcamelCase = function( all, letter ) {
return letter.toUpperCase();
};
jQuery.fn.extend({ jQuery.fn.extend({
show: function( speed, callback ) { show: function( speed, callback ) {