Skip to content

Commit

Permalink
chore: remove obsolete comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
gonfunko committed Sep 30, 2024
1 parent ec5b6e7 commit 73b82e9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,7 @@ export class CodeGenerator {
return opt_thisOnly ? '' : this.blockToCode(block.getChildren(false)[0]);
}

// Look up block generator function in dictionary - but fall back
// to looking up on this if not found, for backwards compatibility.
// Look up block generator function in dictionary.
const func = this.forBlock[block.type];
if (typeof func !== 'function') {
throw Error(
Expand Down

0 comments on commit 73b82e9

Please sign in to comment.