onlyX / onlyY #7

Merged
merged 1 commit into from Dec 2, 2013

Projects

None yet

2 participants

@michal-novacek
Contributor

Added an option to only check the X or Y distance

Michal Nováček onlyX / onlyY ac66383
@gilmoreorless gilmoreorless merged commit fed6911 into gilmoreorless:master Dec 2, 2013
@gilmoreorless
Owner

Thanks, that's a good use case I hadn't considered.

I should clean up the checkHoriz and checkVert options to be a bit more consistent (I'm thinking maybe sameX: true instead of checkHoriz: false, and similar for sameY vs checkVert

@gilmoreorless
Owner

Quick update: This feature has now been released to plugins.jquery.com and Bower as version 1.3.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment