We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b3f468 commit 42cea73Copy full SHA for 42cea73
samples/js-tests/src/SchedulerTest/SchedulerTest.js
@@ -662,10 +662,10 @@ var unScheduleAndRepeatTest = SchedulerTestLayer.extend({
662
663
onEnter: function(){
664
this._super();
665
- cc.log("start schedule 'repeat': run once and repeat 4");
666
- this.schedule(this.repeat, 1, 4);
+ cc.log("start schedule 'repeat': run once and repeat 4 times");
+ this.schedule(this.repeat, 0.5, 4);
667
cc.log("start schedule 'forever': repeat forever (stop in 8s)");
668
- this.schedule(this.forever, 1);
+ this.schedule(this.forever, 0.5);
669
this.schedule(function(){
670
cc.log("stop the 'forever'");
671
this.unschedule(this.forever);
0 commit comments