Remove last @export tag (#3010)

* Remove last @export tag
This commit is contained in:
Neil Fraser
2019-09-12 17:01:51 -07:00
committed by Sam El-Husseini
parent f3f3329355
commit d6cb6b9832
2 changed files with 9 additions and 3 deletions

View File

@@ -30,9 +30,16 @@
*/
goog.provide('Blockly.Msg');
goog.require('Blockly.utils.global');
/**
* Exported so that if Blockly is compiled with ADVANCED_COMPILATION,
* the Blockly.Msg object exists for message files included in script tags.
* @export
*/
Blockly.Msg = {};
if (!Blockly.utils.global['Blockly']) {
Blockly.utils.global['Blockly'] = {};
}
if (!Blockly.utils.global['Blockly']['Msg']) {
Blockly.utils.global['Blockly']['Msg'] = Blockly.Msg;
}

View File

@@ -78,7 +78,6 @@ COMPILATION_COMMAND="java -jar $COMPILER --js='$BLOCKLY_ROOT/tests/compile/main.
--js='$BLOCKLY_ROOT/blocks/**.js' \
--js='$BLOCKLY_ROOT/generators/**.js' \
--js='$BLOCKLY_ROOT/msg/js/**.js' \
--js='$BLOCKLY_ROOT/closure/goog/base.js' \
--generate_exports \
--externs $BLOCKLY_ROOT/externs/svg-externs.js \
--compilation_level ADVANCED_OPTIMIZATIONS \