craftyjs/Crafty — pull request #505 by starwed (2013-07-07 19:36:58+00:00)
Title: Make 2d comparison functions consistently use _x style properties

Modifies `isAt`, `contains`, and `within` to accept objects with `_x` style properties, such as MBRs. (Fixes #504). Would break code that passed manually constructed objects with old-style properties.

Adds a couple tests to better catch issues with MBRs and within/contains.