onmodulus/pulse — pull request #13 by streetalchemist (2013-04-21 18:21:50+00:00)
Title: Modifying the pulse.util.intersects function to run its test differently.

Modifying the pulse.util.intersects function to test for rectangle overlapping instead of just checking the corner points.

Basically just using the accepted answer from this question. http://stackoverflow.com/questions/306316/determine-if-two-rectangles-overlap-each-other

Instead of using points it checks for the proof conditions in which two rectangles overlap.

This fixes instances where the rectangles are overlapping, but no corners are overlapping.