mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-12 06:20:15 -04:00
Mark the buildMenu function private
This commit is contained in:
parent
87cf546b03
commit
9bd48e8761
1 changed files with 3 additions and 2 deletions
|
@ -62,11 +62,12 @@ class Scratch3MusicBlocks {
|
|||
*/
|
||||
this.runtime = runtime;
|
||||
|
||||
this.drumMenu = this.buildMenu(drumNames);
|
||||
this.instrumentMenu = this.buildMenu(instrumentNames);
|
||||
this.drumMenu = this._buildMenu(drumNames);
|
||||
this.instrumentMenu = this._buildMenu(instrumentNames);
|
||||
}
|
||||
|
||||
buildMenu (names) {
|
||||
_buildMenu (names) {
|
||||
const menu = [];
|
||||
for (let i = 0; i < names.length; i++) {
|
||||
const entry = {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue