zynga/jsbindings — pull request #42 by ricardoquesada (2012-10-25 21:52:17+00:00)
Title: Compatibility fixes

// Rect compatibility API
cc.rectEqualToRect = cc.Rect.CCRectEqualToRect;
cc.rectContainsRect = cc.Rect.CCRectContainsRect;
cc.rectGetMaxX = cc.Rect.CCRectGetMaxX;
cc.rectGetMidX = cc.Rect.CCRectGetMidX;
cc.rectGetMinX = cc.Rect.CCRectGetMinX;
cc.rectGetMaxY = cc.Rect.CCRectGetMaxY;
cc.rectGetMidY = cc.Rect.CCRectGetMidY;
cc.rectGetMinY = cc.Rect.CCRectGetMinY;
cc.rectContainsPoint = cc.Rect.CCRectContainsPoint;
cc.rectIntersectsRect = cc.Rect.CCRectIntersectsRect;
cc.rectUnion = cc.Rect.CCRectUnion;
cc.rectIntersection = cc.Rect.CCRectIntersection;