craftyjs/Crafty — pull request #545 by sbyrnes321 (2013-09-09 18:50:11+00:00)
Title: switch from getter to attribute-lookup

attribute-lookups are faster than getters. We use attribute-lookups when possible everywhere in the code. This is a rare exception, presumably an accidental oversight.

I tested in a game with some rotating elements - it still works. The qunit tests also pass.