cocos2d/cocos2d-html5 — pull request #2511 by sincntx (2014-12-15 18:21:01+00:00)
Title: Fixed #1183: cc.game.setFrameRate doesn't work

I fixed cc.game.setFrameRate doesn't work on web.

cocos2d/cocos2d-js#1183

I'm sorry for new pull request, because i made some mistakes.

Anyway I tried to write reusable code about restart loops with a frame rate.

If it needs to update, please give me a advice.

It's my pleasure :)