and so it will be done..
(after testing it :-)
Pascal Bestebroer
[EMAIL PROTECTED]
http://www.dynamic-core.net
> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]Namens ���� �����������
> Verzonden: dinsdag 27 februari 2001 17:35
> Aan: [EMAIL PROTECTED]
> Onderwerp: [Dynapi-Dev] (no subject)
>
>
> function DynAPI.removeFromArray will be rewriten as listed below
>
> removeFromArray : function(array, index, id) {
> var which=(typeof(index)=="object")?index:array[index];
> if (id)
> delete array[which.id];
> else for (var i=0; i<array.length; i++)
> if (array[i] == which) {
> if (typeof(array)=="array") //added
> array.splice(i,1);
> else { //added
> for(var x=i; x<array.length-1; x++) array[x]=array[x+1]; //added
> array.length -= 1; //added
> } //added
> break;
> }
> return array;
> },
>
> to remove the error in function DynLayer.prototype.removeEventListener.
> Yura Silvestrov
>
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-dev
>
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev