Migrate core/interfaces/i_draggable.js to goog.module

This commit is contained in:
kozbial
2021-07-16 13:32:10 -07:00
committed by Monica Kozbial
parent 98e6020baf
commit 9806fc13f9
2 changed files with 6 additions and 3 deletions

View File

@@ -11,7 +11,8 @@
'use strict';
goog.provide('Blockly.IDraggable');
goog.module('Blockly.IDraggable');
goog.module.declareLegacyNamespace();
goog.require('Blockly.IDeletable');
@@ -21,4 +22,6 @@ goog.require('Blockly.IDeletable');
* @extends {Blockly.IDeletable}
* @interface
*/
Blockly.IDraggable = function() {};
const IDraggable = function() {};
exports = IDraggable;

View File

@@ -85,7 +85,7 @@ goog.addDependency('../../core/interfaces/i_copyable.js', ['Blockly.ICopyable'],
goog.addDependency('../../core/interfaces/i_deletable.js', ['Blockly.IDeletable'], [], {'lang': 'es6', 'module': 'goog'});
goog.addDependency('../../core/interfaces/i_delete_area.js', ['Blockly.IDeleteArea'], ['Blockly.IDragTarget'], {'lang': 'es6', 'module': 'goog'});
goog.addDependency('../../core/interfaces/i_drag_target.js', ['Blockly.IDragTarget'], ['Blockly.IComponent']);
goog.addDependency('../../core/interfaces/i_draggable.js', ['Blockly.IDraggable'], ['Blockly.IDeletable']);
goog.addDependency('../../core/interfaces/i_draggable.js', ['Blockly.IDraggable'], ['Blockly.IDeletable'], {'lang': 'es6', 'module': 'goog'});
goog.addDependency('../../core/interfaces/i_flyout.js', ['Blockly.IFlyout'], []);
goog.addDependency('../../core/interfaces/i_metrics_manager.js', ['Blockly.IMetricsManager'], []);
goog.addDependency('../../core/interfaces/i_movable.js', ['Blockly.IMovable'], []);