mirror of
https://github.com/google/blockly.git
synced 2026-01-10 10:27:08 +01:00
* refactor: Initial test at refactoring fields to ES6 * refact: reorganize text input and descendants to call super first * refact: run conversion script on text input field and subclasses * clean: cleanup fields post-conversion script * refact: reorganize dropdown and variable fields to call super first * refact: run class conversion script on dropdown and variable * clean: clean fields post conversion script * refact: reorganize misc fields to call super first * refact: run conversion script on misc fields * clean: cleanup misc fields after conversion * fix: add setting the value and whatnot back to the base field. Pass sentinel conistently * format * refact: work on making debug compiler happy * clean: finish making debug build happy * fix: work on making tests happy * fix: finish making tests happy * Fix: fixup angle and multiline fields * clean: format * fix: move default value back to DEFAULT_VALUE * fix: change SENTINEL to SKIP_SETUP * fix: inline docs * fix: some misc PR comments * fix: format * fix: make compiler hapy with new.target * fix: types in FieldDropdown * fix: add @final annotations to Field * feat: move Sentinel to a utils file * fix: remove ImageProperties from external API * clean: cleanup chunks and deps
25 lines
373 B
JavaScript
25 lines
373 B
JavaScript
/**
|
|
* @license
|
|
* Copyright 2022 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* @fileoverview A type used to create flag values (e.g. SKIP_SETUP).
|
|
*/
|
|
'use strict';
|
|
|
|
/**
|
|
* A type used to create flag values.
|
|
* @class
|
|
*/
|
|
goog.module('Blockly.utils.Sentinel');
|
|
|
|
|
|
/**
|
|
* A type used to create flag values.
|
|
*/
|
|
class Sentinel {}
|
|
|
|
exports.Sentinel = Sentinel;
|