discore/closest — pull request #2 by treygriffith (2013-11-23 02:20:04+00:00)
Title: Prevent illegal invocation by avoiding the null parentNode

I was having a problem with using `closest` with a detached DOM fragment. This PR prevents using `matches` with a null element, which causes an illegal invocation.