mirror of
https://github.com/google/blockly.git
synced 2026-01-09 01:50:11 +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
40 lines
948 B
JavaScript
40 lines
948 B
JavaScript
/**
|
|
* @license
|
|
* Copyright 2021 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* @fileoverview The top level namespace for priorities of plugin serializers.
|
|
* Includes constants for the priorities of different plugin
|
|
* serializers. Higher priorities are deserialized first.
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
/**
|
|
* The top level namespace for priorities of plugin serializers.
|
|
* Includes constants for the priorities of different plugin serializers. Higher
|
|
* priorities are deserialized first.
|
|
* @namespace Blockly.serialization.priorities
|
|
*/
|
|
goog.module('Blockly.serialization.priorities');
|
|
goog.module.declareLegacyNamespace();
|
|
|
|
|
|
/**
|
|
* The priority for deserializing variables.
|
|
* @type {number}
|
|
* @const
|
|
* @alias Blockly.serialization.priorities.VARIABLES
|
|
*/
|
|
exports.VARIABLES = 100;
|
|
|
|
/**
|
|
* The priority for deserializing blocks.
|
|
* @type {number}
|
|
* @const
|
|
* @alias Blockly.serialization.priorities.BLOCKS
|
|
*/
|
|
exports.BLOCKS = 50;
|