Pass snapDragon instance into event handling fns, make getSnapPos an instance fn, use it in snapToSnapPos to find snapPos at location
Pass snapDragon instance into event handling fns, make getSnapPos an instance fn, use it in snapToSnapPos to find snapPos at location

dillongrove/jquery-snapdragon