gilmoreorless / jquery-nearest

Find the elements in a page that are closest to a particular point or element, based on pixel dimensions
http://gilmoreorless.github.io/jquery-nearest/
MIT License
98 stars 23 forks source link

Convert `checkHoriz` and `checkVert` options to `sameX` and `sameY` respectively #9

Closed gilmoreorless closed 10 years ago

gilmoreorless commented 10 years ago

Same functionality internally, but better named and consistent behaviour with onlyX and onlyY (set to true instead of false)

This also means deprecating checkHoriz and checkVert