make code more concise
make code more concise

knoxHuang/engine,cocos-creator/deprecated_engine,cocos-creator/deprecated_engine,knoxHuang/engine,fireball-x/deprecated_engine,knoxHuang/engine,cocos-creator/deprecated_engine,fireball-x/deprecated_engine,fireball-x/deprecated_engine