Skip to content

Commit

Permalink
removed the const DUPLICATE_BLOCK_ERROR
Browse files Browse the repository at this point in the history
  • Loading branch information
varshneydevansh committed Aug 8, 2023
1 parent 82dab67 commit 1a2b932
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions core/insertion_marker_manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import type {BlockSvg} from './block_svg.js';
import * as common from './common.js';
import {ComponentManager} from './component_manager.js';
import {config} from './config.js';
import * as constants from './constants.js';
import * as eventUtils from './events/utils.js';
import type {IDeleteArea} from './interfaces/i_delete_area.js';
import type {IDragTarget} from './interfaces/i_drag_target.js';
Expand All @@ -43,16 +42,6 @@ interface CandidateConnection {
radius: number;
}

/**
* An error message to throw if the block created by createMarkerBlock_ is
* missing any components.
*/
const DUPLICATE_BLOCK_ERROR =
'The insertion marker ' +
'manager tried to create a marker but the result is missing %1. If ' +
'you are using a mutator, make sure your domToMutation method is ' +
'properly defined.';

/**
* Class that controls updates to connections during drags. It is primarily
* responsible for finding the closest eligible connection and highlighting or
Expand Down

0 comments on commit 1a2b932

Please sign in to comment.