Move the music extension into a new extensions directory

This commit is contained in:
Eric Rosenbaum 2017-11-13 16:22:37 -05:00
parent 37d627bc89
commit 961b3476b2
2 changed files with 7 additions and 7 deletions

View file

@ -8,7 +8,7 @@ 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 Scratch3MusicBlocks = require('../extensions/scratch3_music');
const builtinExtensions = { const builtinExtensions = {
pen: Scratch3PenBlocks, pen: Scratch3PenBlocks,
wedo2: Scratch3WeDo2Blocks, wedo2: Scratch3WeDo2Blocks,

View file

@ -1,9 +1,9 @@
const ArgumentType = require('../extension-support/argument-type'); const ArgumentType = require('../../extension-support/argument-type');
const BlockType = require('../extension-support/block-type'); const BlockType = require('../../extension-support/block-type');
const Clone = require('../util/clone'); const Clone = require('../../util/clone');
const Cast = require('../util/cast'); const Cast = require('../../util/cast');
const MathUtil = require('../util/math-util'); const MathUtil = require('../../util/math-util');
const Timer = require('../util/timer'); const Timer = require('../../util/timer');
/** /**
* An array of drum names, used in the play drum block. * An array of drum names, used in the play drum block.