cocos2d/cocos2d-html5 — pull request #932 by BonsaiDen (2013-05-17 11:05:44+00:00)
Title: Performance Optimizations and Bug Fixes

This is a fixed version of the #930 pull request, which makes correct use of `getImageFormatByData`.

Original description below:

This is a cleaned up version of #927 and #929 and includes all the changes of these two pull requests and also fixes a number of issues that were the result of a bad merge.