Skip to content

Commit

Permalink
fix reference error (sugarlabs#2534)
Browse files Browse the repository at this point in the history
* fix reference error

* fix sugarlabs#2390

start beat events as soon as we encounter the on every beat do blok

* Revert "fix sugarlabs#2390"

This reverts commit 6e1319b.
  • Loading branch information
sksum committed Aug 27, 2020
1 parent fb033bc commit 1ec18ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/turtleactions/RhythmActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ function setupRhythmActions() {
* @param {String} blkName - note block type name
* @param {Object} turtle - Turtle object
* @param {Object} blk - corresponding Block object index in blocks.blockList or custom block number
* @param {Function} [_enqueue] - callback
* @param {Function} _enqueue - callback
* @returns {void}
*/
static playNote(value, blkName, turtle, blk, _callback) {
static playNote(value, blkName, turtle, blk, _enqueue) {
/**
* We queue up the child flow of the note clamp and once all of the children are run, we
* trigger a _playnote_ event, then wait for the note to play. The note can be specified
Expand Down

0 comments on commit 1ec18ed

Please sign in to comment.