From 519a37bb00d564bab143ae9ea8b78c49a6d83020 Mon Sep 17 00:00:00 2001 From: Christopher Willis-Ford <cwillisf@media.mit.edu> Date: Tue, 16 Apr 2019 14:13:49 -0700 Subject: [PATCH] add `require` lines for arg/block types in `getInfo` intro snippet --- docs/extensions.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/extensions.md b/docs/extensions.md index 7e500b03b..6cb632e1c 100644 --- a/docs/extensions.md +++ b/docs/extensions.md @@ -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 () {