Message fixes and lint

This commit is contained in:
Rachel Fenichel 2016-11-08 16:16:02 -08:00
parent b30b60e8d1
commit 406fe8c26a
2 changed files with 6 additions and 2 deletions

View file

@ -120,7 +120,7 @@ Blockly.dragMode_ = Blockly.DRAG_NONE;
/**
* Map from function names to callbacks, for deciding what to do when a button
* is clicked.
* @type {!Object<string, function(!Blockly.FlyoutButton)}
* @type {!Object<string, function(!Blockly.FlyoutButton)>}
*/
Blockly.flyoutButtonCallbacks_ = {};

View file

@ -239,7 +239,11 @@ Blockly.Msg.CONTROLS_IF_ELSE_TITLE_ELSE = Blockly.Msg.CONTROLS_IF_MSG_ELSE;
/// tooltip - Describes the 'else' subblock during [https://github.com/google/blockly/wiki/IfElse#block-modification if block modification].
Blockly.Msg.CONTROLS_IF_ELSE_TOOLTIP = 'Add a final, catch-all condition to the if block.';
/// block text - See [https://github.com/google/blockly/wiki/IfElse https://github.com/google/blockly/wiki/IfElse]. The English word "otherwise" would probably be superior to "else", but the latter is used because it is traditional and shorter.
/// block text - Evaluates a boolean condition (%1), and will either execute
/// the statements in %2 if true, otherwise execute the statements in %3.
/// The English word "otherwise" would probably be superior to "else", but the
/// latter is used because it is traditional and shorter.
/// See [https://github.com/google/blockly/wiki/IfElse#if-else-blocks https://github.com/google/blockly/wiki/IfElse#if-else-blocks].
Blockly.Msg.CONTROLS_IFELSE_TITLE = 'if %1 do %2 else %3';
/// url - Information about comparisons.