mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-05-23 03:37:48 -04:00
sanitize extension ID in getExtensionIdForOpcode
This commit is contained in:
parent
b67ba75d8b
commit
90b9da45f4
3 changed files with 10 additions and 2 deletions
docs
|
@ -310,6 +310,7 @@ class SomeBlocks {
|
|||
return {
|
||||
// Required: the machine-readable name of this extension.
|
||||
// Will be used as the extension's namespace.
|
||||
// Allowed characters are those matching the regular expression [\w-]: A-Z, a-z, 0-9, and hyphen ("-").
|
||||
id: 'someBlocks',
|
||||
|
||||
// Core extensions only: override the default extension block colors.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue