If you preload resources at runtime and you happen to preload a resource twice, the cc.loader ends up in an infinite loop.
cc.Loader.shareLoader.onResLoaded;which increments loadedResourceCount in the cc.Loader
when later using cc.Loader.shareLoader.preload_ ,loadedResourceCount_ will be higher than resourceCount, so the isLoadedComplete never triggers the onLoad
I already reported this as a issue on the cocos2d-html github, but maybe I’m just doing something wrong?
Any ideas, anyone?