muc1
12 Apr 2007, 11:05 PM
if(!this.firing)
{
this.listeners.push(l);
}else{
// The push method is used to add one or more elements to an array,
// returning the new length of it. This affects the length of the array and NOT
// the array.
this.listeners = this.listeners.slice(0).push(l);
}
{
this.listeners.push(l);
}else{
// The push method is used to add one or more elements to an array,
// returning the new length of it. This affects the length of the array and NOT
// the array.
this.listeners = this.listeners.slice(0).push(l);
}