ericdrowell/KineticJS — pull request #65 by davonium (2012-08-13 21:00:32+00:00)
Title: Custom drag bounds

This gives advanced user the posibility to change how an object is dragged.
Demonstrated in the following jsfiddle: http://jsfiddle.net/jjR55/

ps. it's actually more advanced than just 'dragBounds', since it works for constraints and more.