Bringing in the rdashAlpha/fcamelCase private var tweaks from the csshooks branch.
This commit is contained in:
parent
492a2e2c53
commit
fc5b69fc70
7
src/effects.js
vendored
7
src/effects.js
vendored
|
@ -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 ) {
|
||||||
|
|
Loading…
Reference in a new issue