- From: <bugzilla@jessica.w3.org>
- Date: Mon, 05 Mar 2012 03:50:32 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=13999 --- Comment #10 from miket@opera.com 2012-03-05 03:50:29 UTC --- (In reply to comment #9) > Thanks, that's nice. And how about also supporting Array as argument? Ability > to pass multiple items as Array (native data-type to store multiple items) > looks very natural and intuitive. el.classList(arr.join(' ')) would give you that ability as well. But maybe since the difference is so minimal it's worth adding it? I'm not sure to what degree an array is as or more intuitive than a space separated string, but something like Array.isArray(classes) ? classes.join(" ") : classes would allow both. -- Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Monday, 5 March 2012 03:50:35 UTC