cocos2d/cocos2d-html5 — pull request #723 by ricardoquesada (2013-01-05 00:49:26+00:00)
Title: Adds sys.capabilities

which supercedes cc.config.platform.

sys.capabilities enumerates the platform capabilities like:
- accelerometer, keyboard, touches, opengl, etc...