I have some old code which I thought I had fully upgraded from 1.2 of mootools to 1.3

I just found a bit where I use $A, which now appears to be depreciated - although I can't find out where in the documentation it says this.

I have an element called form and the old code was doing (amongst other things)

$A(form.domain.options).each(function(option){...})

Is the replacement to use Array.from?

Array.from(form.domain.options).each ...


--
Alan Chandler
http://www.chandlerfamily.org.uk

Reply via email to