mirror of
https://github.com/google/blockly.git
synced 2026-01-07 17:10:11 +01:00
chore: fix spelling in common.ts
definiton -> definition
This commit is contained in:
@@ -282,7 +282,7 @@ export function defineBlocks(blocks: {[key: string]: BlockDefinition}) {
|
||||
for (const type of Object.keys(blocks)) {
|
||||
const definition = blocks[type];
|
||||
if (type in Blocks) {
|
||||
console.warn(`Block definiton "${type}" overwrites previous definition.`);
|
||||
console.warn(`Block definition "${type}" overwrites previous definition.`);
|
||||
}
|
||||
Blocks[type] = definition;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user