Skip to content

Commit d2e48f0

Browse files
authored
Merge pull request #207 from rikutons/develop
[ADD] music.js in ruby-to-blocks-converter and change index.js
2 parents 6594421 + dcee540 commit d2e48f0

File tree

3 files changed

+34
-8
lines changed

3 files changed

+34
-8
lines changed

package-lock.json

Lines changed: 21 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/ruby-to-blocks-converter/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import SensingConverter from './sensing';
1717
import OperatorsConverter from './operators';
1818
import VariablesConverter from './variables';
1919
import MyBlocksConverter from './my-blocks';
20+
import MusicConverter from './music';
2021

2122
/**
2223
* Class for a block converter that translates ruby code into the blocks.
@@ -33,7 +34,8 @@ class RubyToBlocksConverter {
3334
SensingConverter,
3435
OperatorsConverter,
3536
VariablesConverter,
36-
MyBlocksConverter
37+
MyBlocksConverter,
38+
MusicConverter
3739
];
3840
this.reset();
3941
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/* global Opal */
2+
import _ from 'lodash';
3+
4+
/**
5+
* Music converter
6+
*/
7+
const MusicConverter = {
8+
};
9+
10+
export default MusicConverter;

0 commit comments

Comments
 (0)