cocos2d/cocos2d-html5 — pull request #1176 by luisparravicini (2013-10-09 22:49:52+00:00)
Title: Duplicated code for the initial loading screen

The code for seting up the initial loading screen (the one with the animated gif) appears in two places (template/cocos2d.js and platform/jsloader.js).
I've put the code in a function so both files call the same function.