olivier-m/minislate — pull request #1 by clochix (2014-10-24 10:09:03+00:00)
Title: Bugfix for orpheaned node

I sometime get an error inside JS console, the `api.dom.hasParents` function fails because of some node outside the document. This seems the fix the bug.