mirror of
https://github.com/google/blockly.git
synced 2026-01-07 09:00:11 +01:00
chore: remove alias comments (#6816)
* chore: remove alias comments * chore: format * chore: remove extra newlines * chore: fix bad replaces
This commit is contained in:
@@ -37,7 +37,6 @@ let promptImplementation = function(
|
||||
*
|
||||
* @param message The message to display to the user.
|
||||
* @param opt_callback The callback when the alert is dismissed.
|
||||
* @alias Blockly.dialog.alert
|
||||
*/
|
||||
export function alert(message: string, opt_callback?: () => void) {
|
||||
alertImplementation(message, opt_callback);
|
||||
@@ -48,7 +47,6 @@ export function alert(message: string, opt_callback?: () => void) {
|
||||
*
|
||||
* @param alertFunction The function to be run.
|
||||
* @see Blockly.dialog.alert
|
||||
* @alias Blockly.dialog.setAlert
|
||||
*/
|
||||
export function setAlert(alertFunction: (p1: string, p2?: () => void) => void) {
|
||||
alertImplementation = alertFunction;
|
||||
@@ -60,7 +58,6 @@ export function setAlert(alertFunction: (p1: string, p2?: () => void) => void) {
|
||||
*
|
||||
* @param message The message to display to the user.
|
||||
* @param callback The callback for handling user response.
|
||||
* @alias Blockly.dialog.confirm
|
||||
*/
|
||||
export function confirm(message: string, callback: (p1: boolean) => void) {
|
||||
TEST_ONLY.confirmInternal(message, callback);
|
||||
@@ -79,7 +76,6 @@ function confirmInternal(message: string, callback: (p1: boolean) => void) {
|
||||
*
|
||||
* @param confirmFunction The function to be run.
|
||||
* @see Blockly.dialog.confirm
|
||||
* @alias Blockly.dialog.setConfirm
|
||||
*/
|
||||
export function setConfirm(
|
||||
confirmFunction: (p1: string, p2: (p1: boolean) => void) => void) {
|
||||
@@ -95,7 +91,6 @@ export function setConfirm(
|
||||
* @param message The message to display to the user.
|
||||
* @param defaultValue The value to initialize the prompt with.
|
||||
* @param callback The callback for handling user response.
|
||||
* @alias Blockly.dialog.prompt
|
||||
*/
|
||||
export function prompt(
|
||||
message: string, defaultValue: string,
|
||||
@@ -108,7 +103,6 @@ export function prompt(
|
||||
*
|
||||
* @param promptFunction The function to be run.
|
||||
* @see Blockly.dialog.prompt
|
||||
* @alias Blockly.dialog.setPrompt
|
||||
*/
|
||||
export function setPrompt(
|
||||
promptFunction: (p1: string, p2: string, p3: (p1: string|null) => void) =>
|
||||
|
||||
Reference in New Issue
Block a user