mirror of
https://github.com/google/blockly.git
synced 2026-01-09 10:00:09 +01:00
Make flyouts be optional modules.
No Blockly instances need both Horizontal and Vertical flyouts. Dropping one of these saves 2 KB. Some don’t need flyouts at all (e.g. Blockly Games Puzzle or readonly documentation blocks).
This commit is contained in:
@@ -3,6 +3,7 @@ goog.provide('Main');
|
||||
// Either require 'Blockly.requires', or just the components you use:
|
||||
goog.require('Blockly');
|
||||
goog.require('Blockly.geras.Renderer');
|
||||
goog.require('Blockly.VerticalFlyout');
|
||||
// Blocks
|
||||
goog.require('Blockly.Constants.Logic');
|
||||
goog.require('Blockly.Constants.Loops');
|
||||
|
||||
Reference in New Issue
Block a user