下载的离线api代码有错误

CocosCreator/resources/app.asar.unpacked/docs/html/getting-started/quick-start.html

该页面里

getNewStarPosition: function () {
        var randX = 0;
        // According to the position of the ground level and the main character's jump height, randomly obtain an anchor point of the star on the y axis
        var randY = this.ground + cc.random0To1() * this.player.getComponent('Player').jumpHeight + 50;           
                                //      ↑这里错了   
        // according to the width of the screen, randomly obtain an anchor point of star on the x axis
        var maxX = this.node.width/2;
        randX = cc.randomMinus1To1() * maxX;
        // return to the anchor point of the star
        return cc.p(randX, randY);
    }

在线版已修正 http://www.cocos.com/docs/creator/getting-started/quick-start.html