mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-06-07 11:04:38 -04:00
Merge f24f284eb1
into f207757ef0
This commit is contained in:
commit
d8a5fd960e
1 changed files with 8 additions and 0 deletions
|
@ -524,4 +524,12 @@ class SomeBlocks {
|
|||
});
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = SomeBlocks;
|
||||
```
|
||||
|
||||
## Linking a extension
|
||||
To enable your custom written extension we need to add it to the extension-manager (src/extension-support/extension-manager.js) in the builtinExtensions list
|
||||
```
|
||||
someBlocks: () => require('.../extensions/someBlocks');
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue