将doReady逻辑移入到frame中
优化代码
Merge pull request #1 from EdwonLim/linyang

合并主干