chore: remove license tag

This commit is contained in:
Maribeth Bottorff
2022-08-16 16:20:25 -07:00
parent d6d8656a45
commit 173455588a
258 changed files with 46 additions and 300 deletions

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2011 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2016 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2012 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2011 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2016 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2013 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2012 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
@@ -583,7 +582,8 @@ export class Bubble implements IBubble {
*
* @param viewMetrics The view metrics of the workspace the bubble will appear
* in.
* @returns The optimal vertical position of the top-left corner of the bubble.
* @returns The optimal vertical position of the top-left corner of the
* bubble.
*/
private getOptimalRelativeTop_(viewMetrics: ContainerRegion): number {
let relativeTop = -this.height_ / 4;

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2011 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2022 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2011 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
@@ -572,8 +571,8 @@ export class Connection implements IASTNodeLocationWithBlock {
*
* @param attemptToConnect Whether to try to connect the shadow block to this
* connection or not.
* @returns The shadow block that was created, or null if both the shadowState_
* and shadowDom_ are null.
* @returns The shadow block that was created, or null if both the
* shadowState_ and shadowDom_ are null.
*/
private createShadowBlock_(attemptToConnect: boolean): Block|null {
const parentBlock = this.getSourceBlock();

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2011 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
@@ -60,7 +59,8 @@ export class ConnectionDB {
*
* @param conn The connection to find.
* @param yPos The y position used to find the index of the connection.
* @returns The index of the connection, or -1 if the connection was not found.
* @returns The index of the connection, or -1 if the connection was not
* found.
*/
private findIndexOfConnection_(conn: RenderedConnection, yPos: number):
number {
@@ -170,8 +170,8 @@ export class ConnectionDB {
* variables.
*
* @param yIndex The other connection's index in the database.
* @returns True if the current connection's vertical distance from the other
* connection is less than the allowed radius.
* @returns True if the current connection's vertical distance from the
* other connection is less than the allowed radius.
*/
function checkConnection_(yIndex: number): boolean {
const dx = currentX - db[yIndex].x;

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2016 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2011 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2013 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2016 Massachusetts Institute of Technology
* All rights reserved.
* SPDX-License-Identifier: Apache-2.0
@@ -360,8 +359,8 @@ const internal = {};
* @param primaryY Desired origin point y, in absolute px.
* @param secondaryX Secondary/alternative origin point x, in absolute px.
* @param secondaryY Secondary/alternative origin point y, in absolute px.
* @returns Various final metrics, including rendered positions for drop-down and
* arrow.
* @returns Various final metrics, including rendered positions for drop-down
* and arrow.
*/
// AnyDuringMigration because: Property 'getPositionMetrics' does not exist on
// type '{}'.
@@ -403,8 +402,8 @@ const internal = {};
* element (bounding box and width/height).
* @param divSize An object containing information about the size of the
* DropDownDiv (width & height).
* @returns Various final metrics, including rendered positions for drop-down and
* arrow.
* @returns Various final metrics, including rendered positions for drop-down
* and arrow.
*/
function getPositionBelowMetrics(
primaryX: number, primaryY: number, boundsInfo: BoundsInfo,
@@ -436,8 +435,8 @@ function getPositionBelowMetrics(
* element (bounding box and width/height).
* @param divSize An object containing information about the size of the
* DropDownDiv (width & height).
* @returns Various final metrics, including rendered positions for drop-down and
* arrow.
* @returns Various final metrics, including rendered positions for drop-down
* and arrow.
*/
function getPositionAboveMetrics(
secondaryX: number, secondaryY: number, boundsInfo: BoundsInfo,
@@ -469,8 +468,8 @@ function getPositionAboveMetrics(
* element (bounding box and width/height).
* @param divSize An object containing information about the size of the
* DropDownDiv (width & height).
* @returns Various final metrics, including rendered positions for drop-down and
* arrow.
* @returns Various final metrics, including rendered positions for drop-down
* and arrow.
*/
function getPositionTopOfPageMetrics(
sourceX: number, boundsInfo: BoundsInfo, divSize: Size): PositionMetrics {

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2016 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2019 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
@@ -297,8 +296,8 @@ function checkHasMutatorProperties(
* Get a list of values of mutator properties on the given block.
*
* @param block The block to inspect.
* @returns A list with all of the defined properties, which should be functions,
* but may be anything other than undefined.
* @returns A list with all of the defined properties, which should be
* functions, but may be anything other than undefined.
*/
function getMutatorProperties(block: Block): AnyDuringMigration[] {
const result = [];

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2012 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2013 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2012 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2012 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2012 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2012 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2012 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2019 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2019 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2016 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2019 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
@@ -52,8 +51,8 @@ export function unregister(type: string) {
*
* @param options A JSON object with a type and options specific to the field
* type.
* @returns The new field instance or null if a field wasn't found with the given
* type name
* @returns The new field instance or null if a field wasn't found with the
* given type name
* @alias Blockly.fieldRegistry.fromJson
* @internal
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2012 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2012 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
@@ -267,8 +266,8 @@ export class FieldVariable extends FieldDropdown {
/**
* Get the text from this field, which is the selected variable's name.
*
* @returns The selected variable's name, or the empty string if no variable is
* selected.
* @returns The selected variable's name, or the empty string if no variable
* is selected.
*/
override getText(): string {
return this.variable_ ? this.variable_.name : '';

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2011 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2016 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2012 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2013 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2011 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2012 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
@@ -433,7 +432,8 @@ export class InsertionMarkerManager {
/**
* Decide the radius at which to start searching for the closest connection.
*
* @returns The radius at which to start the search for the closest connection.
* @returns The radius at which to start the search for the closest
* connection.
*/
private getStartRadius_(): number {
// If there is already a connection highlighted,

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2019 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2019 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

View File

@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

Some files were not shown because too many files have changed in this diff Show More