[whatwg] DOMTokenList methods would be more useful with a space separated token list
raynos2 at gmail.com
Thu May 3 00:45:20 PDT 2012
Sidetracking whether chaining is a useful API design or not isn't useful.
Choosing some mechanism to add multiple classes at once is useful, whether
that's making add have an arbitary arity, allow it to take an array, allow
it to take a space seperated string or allowing add calls to be chained.
My personal vote is for arity.
More information about the whatwg