Skip to content

Commit

Permalink
Add micro:bit Scratch 3.0 extension (#1113)
Browse files Browse the repository at this point in the history
* Add micro:bit Scratch 3.0 extension

* Fix lint errors in micro:bit extension

* Fix doc. Incorrect return type

* Check for valid pin in when pin connected block

* Drop mapping function

* Drop question mark from tilt hat block

* Generate list of symbols from object keys

* Trim display text block to max 20 characters
  • Loading branch information
khanning authored and ericrosenbaum committed May 14, 2018
1 parent 846f212 commit 82fd6f0
Show file tree
Hide file tree
Showing 2 changed files with 664 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/extension-support/extension-manager.js
Expand Up @@ -10,13 +10,15 @@ const BlockType = require('./block-type');
const Scratch3PenBlocks = require('../extensions/scratch3_pen');
const Scratch3WeDo2Blocks = require('../extensions/scratch3_wedo2');
const Scratch3MusicBlocks = require('../extensions/scratch3_music');
const Scratch3MicroBitBlocks = require('../extensions/scratch3_microbit');
const Scratch3TranslateBlocks = require('../extensions/scratch3_translate');
const Scratch3VideoSensingBlocks = require('../extensions/scratch3_video_sensing');

const builtinExtensions = {
pen: Scratch3PenBlocks,
wedo2: Scratch3WeDo2Blocks,
music: Scratch3MusicBlocks,
microbit: Scratch3MicroBitBlocks,
translate: Scratch3TranslateBlocks,
videoSensing: Scratch3VideoSensingBlocks
};
Expand Down

0 comments on commit 82fd6f0

Please sign in to comment.