mythz/jquip — pull request #47 by zipang (2012-10-24 19:00:26+00:00)
Title: parentsUntil() failing in some conditions

I created a (rather convoluted) example here to reproduct the bug :
[jquip parentsUntil() failing demo]

I made the following fix: convert ret to Array if we are to call unique(ret) or ret.reverse() in the following lines.

[jquip bug demo]: http://codepen.io/zipang/pen/gJEsl?external-js=https%3A%2F%2Fraw.github.com%2Fmythz%2Fjquip%2Fmaster%2Fsrc%2Fjquip.js