关于文档中制作摘星星时遇到的问题

大家好,我是刚入坑的新人。
今天在学习摘星星的时候,在添加第二三段的script代码后,运行程序小怪物消失了,想请各位大神看看什么地方出了问题,谢谢大家。

以下是script的代码
cc.Class({
extends: cc.Component,

properties: {
   jumpHeight:0,
   jumpDurition:0,
   maxMoveSpeed:0,
   accel:0,
},

setJumpAction: function () {
// 跳跃上升
var jumpUp = cc.moveBy(this.jumpDuration, cc.p(0, this.jumpHeight)).easing(cc.easeCubicActionOut());
// 下落
var jumpDown = cc.moveBy(this.jumpDuration, cc.p(0, -this.jumpHeight)).easing(cc.easeCubicActionIn());
// 不断重复
return cc.repeatForever(cc.sequence(jumpUp, jumpDown));
},

// use this for initialization

onLoad: function () {
// 初始化跳跃动作
this.jumpAction = this.setJumpAction();
this.node.runAction(this.jumpAction);
},

// called every frame, uncomment this function to activate update callback
// update: function (dt) {

// },

});

jumpDurition定义与下面的引用this.jumpDuration不一致