Skip to content

Commit

Permalink
chore: remove license tag
Browse files Browse the repository at this point in the history
  • Loading branch information
maribethb committed Aug 16, 2022
1 parent d6d8656 commit 1734555
Show file tree
Hide file tree
Showing 258 changed files with 46 additions and 300 deletions.
1 change: 0 additions & 1 deletion core/block.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2011 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/block_animations.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/block_drag_surface.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2016 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/block_dragger.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/block_svg.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2012 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/blockly.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2011 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/blockly_options.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2016 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/blocks.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2013 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/browser_events.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
4 changes: 2 additions & 2 deletions core/bubble.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2012 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion core/bubble_dragger.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/bump_objects.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/clipboard.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/comment.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2011 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/common.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/component_manager.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2022 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
5 changes: 2 additions & 3 deletions core/connection.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2011 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down Expand Up @@ -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();
Expand Down
1 change: 0 additions & 1 deletion core/connection_checker.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
8 changes: 4 additions & 4 deletions core/connection_db.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2011 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion core/connection_type.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/constants.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2016 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/contextmenu.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2011 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/contextmenu_items.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/contextmenu_registry.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/css.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2013 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/delete_area.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/dialog.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/drag_target.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
17 changes: 8 additions & 9 deletions core/dropdowndiv.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2016 Massachusetts Institute of Technology
* All rights reserved.
* SPDX-License-Identifier: Apache-2.0
Expand Down Expand Up @@ -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 '{}'.
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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 {
Expand Down
1 change: 0 additions & 1 deletion core/events/events.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2016 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/events/events_abstract.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/events/events_block_base.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/events/events_block_change.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/events/events_block_create.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/events/events_block_delete.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/events/events_block_drag.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/events/events_block_move.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/events/events_bubble_open.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/events/events_click.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/events/events_comment_base.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/events/events_comment_change.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/events/events_comment_create.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/events/events_comment_delete.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/events/events_comment_move.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/events/events_marker_move.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/events/events_selected.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/events/events_theme_change.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/events/events_toolbox_item_select.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/events/events_trashcan_open.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/events/events_ui.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
1 change: 0 additions & 1 deletion core/events/events_ui_base.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down
Loading

0 comments on commit 1734555

Please sign in to comment.