PDA

View Full Version : [FIXED]Ext Core 3.0



mankz
11 Apr 2009, 1:38 AM
missing a var in the enumeration snippet below (Ext.Fx).


shift : function(o){
var me = this;
o = o || {};

var el = me.getFxEl();
el.queueFx(o, function(){
var a = {};

for (prop in o) {
if (o[prop] != UNDEFINED) {
a[prop] = {to : o[prop]};
}
}

a.width ? a.width.to = me.adjustWidth(o.width) : a;
a.height ? a.height.to = me.adjustWidth(o.height) : a;

if (a.x || a.y || a.xy) {
a.points = a.xy ||
{to : [ a.x ? a.x.to : me.getX(),
a.y ? a.y.to : me.getY()]};
}

arguments.callee.anim = me.fxanim(a,
o,
MOTION,
.35,
EASEOUT,
function(){
el.afterFx(o);
});
});
return me;
},

evant
11 Apr 2009, 1:40 AM
Fixed.