Files
blockly/core/msg.js
Neil Fraser 4e2f8e6e02 Use SPDX licences.
This is a followup to #3127.
At the time, SPDX licenses were pending approval by Google.
2020-02-11 13:27:20 -08:00

32 lines
718 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';
/**
* Name space for the Msg singleton.
* Msg gets populated in the message files.
*/
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.
*/
if (!Blockly.utils.global['Blockly']) {
Blockly.utils.global['Blockly'] = {};
}
if (!Blockly.utils.global['Blockly']['Msg']) {
Blockly.utils.global['Blockly']['Msg'] = Blockly.Msg;
}