add require lines for arg/block types in getInfo intro snippet

This commit is contained in:
Christopher Willis-Ford 2019-04-16 14:13:49 -07:00
parent 99f6c7b6a0
commit 519a37bb00

View file

@ -75,6 +75,10 @@ All extensions must define a function called `getInfo` which returns an object t
render both the blocks and the extension itself.
```js
// Core, Team, and Official extensions can `require` VM code:
const ArgumentType = require('../../extension-support/argument-type');
const BlockType = require('../../extension-support/block-type');
class SomeBlocks {
// ...
getInfo () {