component/classes — pull request #22 by stephenmathieson (2014-11-18 16:28:53+00:00)
Title: index: Improve HTMLElement duck typing

This patch prevents passing a non-element to `ClassList`.

--

I just spent far too long trying to debug something like this:

```js
var someView = new SomeView;
classes(someView).add('foobar') // should be classes(someView.el)...
```