Skip to content

Commit c8a1363

Browse files
committed
Merge branch 'master' of https://github.com/justin212407/musicblocks into play-only-mode-additions
2 parents c3a9750 + 6383c1f commit c8a1363

File tree

6 files changed

+4753
-10702
lines changed

6 files changed

+4753
-10702
lines changed

.github/FUNDING.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# These are supported funding model platforms
2+
3+
github: sugarlabs
4+
custom: ['https://www.every.org/sugar-labs', 'https://www.paypal.com/us/fundraiser/charity/4357440', 'https://mygoodness.benevity.org/community/cause/840-843289298/donate' ]

js/blocks/DrumBlocks.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,3 +593,6 @@ function setupDrumBlocks(activity) {
593593
new PlayEffectBlock().setup(activity);
594594
new PlayDrumBlock().setup(activity);
595595
}
596+
if (typeof module !== "undefined" && module.exports) {
597+
module.exports = { setupDrumBlocks };
598+
}

js/blocks/__tests__/BooleanBlocks.test.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
/**
2+
* MusicBlocks v3.6.2
3+
*
4+
* @author Om Santosh Suneri
5+
*
6+
* @copyright 2025 Om Santosh Suneri
7+
*
8+
* @license
9+
* This program is free software: you can redistribute it and/or modify
10+
* it under the terms of the GNU Affero General Public License as published by
11+
* the Free Software Foundation, either version 3 of the License, or
12+
* (at your option) any later version.
13+
*
14+
* This program is distributed in the hope that it will be useful,
15+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
* GNU Affero General Public License for more details.
18+
*
19+
* You should have received a copy of the GNU Affero General Public License
20+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
21+
*/
22+
123
const { setupBooleanBlocks } = require('../BooleanBlocks');
224
global._ = jest.fn((str) => str);
325
global.BooleanBlock = jest.fn().mockImplementation((type) => ({

0 commit comments

Comments
 (0)