Load music as internal extension

This commit is contained in:
Eric Rosenbaum 2017-11-07 11:27:33 -05:00
parent fbeb1de1c1
commit b2941f8c5a

View file

@ -8,9 +8,11 @@ const BlockType = require('./block-type');
// TODO: change extension spec so that library info, including extension ID, can be collected through static methods // TODO: change extension spec so that library info, including extension ID, can be collected through static methods
const Scratch3PenBlocks = require('../blocks/scratch3_pen'); const Scratch3PenBlocks = require('../blocks/scratch3_pen');
const Scratch3WeDo2Blocks = require('../blocks/scratch3_wedo2'); const Scratch3WeDo2Blocks = require('../blocks/scratch3_wedo2');
const Scratch3MusicBlocks = require('../blocks/scratch3_music');
const builtinExtensions = { const builtinExtensions = {
pen: Scratch3PenBlocks, pen: Scratch3PenBlocks,
wedo2: Scratch3WeDo2Blocks wedo2: Scratch3WeDo2Blocks,
music: Scratch3MusicBlocks
}; };
/** /**