mirror of
https://github.com/google/blockly.git
synced 2025-12-15 22:00:07 +01:00
chore: remove deprecated functionality for v10 (#7077)
* chore: remove deprecated functionality in events files * chore: remove deprecated items in renderers * chore: remove deprecated items in core * chore: remove mixin deprecation * chore: fix tests after removing deprecations
This commit is contained in:
@@ -729,7 +729,7 @@ const QUOTES_EXTENSION = function (this: QuoteImageBlock) {
|
||||
};
|
||||
|
||||
/** Type of a block that has TEXT_JOIN_MUTATOR_MIXIN */
|
||||
type JoinMutatorBlock = Block & JoinMutatorMixin & QuoteImageMixin;
|
||||
type JoinMutatorBlock = BlockSvg & JoinMutatorMixin & QuoteImageMixin;
|
||||
interface JoinMutatorMixin extends JoinMutatorMixinType {}
|
||||
type JoinMutatorMixinType = typeof JOIN_MUTATOR_MIXIN;
|
||||
|
||||
@@ -896,7 +896,7 @@ const JOIN_EXTENSION = function (this: JoinMutatorBlock) {
|
||||
this.itemCount_ = 2;
|
||||
this.updateShape_();
|
||||
// Configure the mutator UI.
|
||||
this.setMutator(new Mutator(['text_create_join_item']));
|
||||
this.setMutator(new Mutator(['text_create_join_item'], this));
|
||||
};
|
||||
|
||||
// Update the tooltip of 'text_append' block to reference the variable.
|
||||
|
||||
Reference in New Issue
Block a user