mirror of
https://github.com/google/blockly.git
synced 2026-01-08 01:20:12 +01:00
Fix compiler warnings related to fields. (#3144)
* Fix compiler warnings related to fields.
This commit is contained in:
@@ -131,7 +131,7 @@ Blockly.Extensions.registerMutator = function(name, mixinObj, opt_helperFn,
|
||||
*/
|
||||
Blockly.Extensions.unregister = function(name) {
|
||||
if (Blockly.Extensions.ALL_[name]) {
|
||||
Blockly.Extensions.ALL_[name] = undefined;
|
||||
delete Blockly.Extensions.ALL_[name];
|
||||
} else {
|
||||
console.warn('No extension mapping for name "' + name +
|
||||
'" found to unregister');
|
||||
|
||||
Reference in New Issue
Block a user