> complain.erase(parseInt(element.get('id')));

+'string' is faster cross-browser than parseInt('string').

While  performance  diff  is  is negligible between the two methods in
FF/Saf/Chrome,  you'll  find  that unary + is 100% faster in IE... and
100% means a lot in IE.

-- S.



-- 
Subscription settings: 
http://groups.google.com/group/mootools-users/subscribe?hl=en

Reply via email to