mirror of
https://github.com/google/blockly.git
synced 2026-01-08 09:30:06 +01:00
* Add annotations to files under core/events * Add annotations to files under core/interfaces * Add annotations to files under core/keyboard_nav * Add annotations to files under core/renderers * Add annotations to files under core/serialization * Add annotations to files under core/theme * Add annotations to files under core/toolbox * Add annotations to files under core/utils * Add annotations to files under core
33 lines
724 B
JavaScript
33 lines
724 B
JavaScript
/**
|
|
* @license
|
|
* Copyright 2013 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* @fileoverview Empty name space for the Message singleton.
|
|
* @author scr@google.com (Sheridan Rawlins)
|
|
*/
|
|
'use strict';
|
|
|
|
/**
|
|
* Empty name space for the Message singleton.
|
|
* @namespace Blockly.Msg
|
|
*/
|
|
goog.module('Blockly.Msg');
|
|
goog.module.declareLegacyNamespace();
|
|
|
|
const {globalThis} = 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.
|
|
*/
|
|
if (!globalThis['Blockly']) {
|
|
globalThis['Blockly'] = {};
|
|
}
|
|
if (!globalThis['Blockly']['Msg']) {
|
|
globalThis['Blockly']['Msg'] = exports;
|
|
}
|