Adding in a couple private variables to effects.js that were in css.js.

This commit is contained in:
jeresig 2010-09-09 15:45:24 -04:00
parent 7c8588530a
commit a166860a19

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 ) {