SIGN IN SIGN UP
SortableJS / Sortable UNCLAIMED

Reorderable drag-and-drop lists for modern browsers and touch devices. No jQuery or framework required.

0 0 0 JavaScript

refactor _matches() out of _closest()

The _closest() method already defined a way to do what _matches() was
trying to accomplish.  This pulls the functionality out of _closest() so
that it can be reused outside of _closest() but refactors _closest() to
use this new _matches() method.
D
Dan LaMotte committed
4facaff7155128db751fda51aca582742e1d6f1c
Parent: 4c2bd1c