mirror of
https://github.com/google/blockly.git
synced 2026-01-04 23:50:12 +01:00
Our files are up to a decade old, and have churned so much, that the initial author of the file no longer has much meaning. Furthermore, this will encourage developers to post to the developer group, rather than emailing Googlers (usually me) directly.
32 lines
679 B
JavaScript
32 lines
679 B
JavaScript
/**
|
|
* @license
|
|
* Copyright 2013 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* @fileoverview Empty name space for the Message singleton.
|
|
*/
|
|
'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;
|
|
}
|