Minor jsdoc issue (#2826)

The JavaScript closure compiler barfs at this. No such thing as JSDOC @throw.
This commit is contained in:
Sam El-Husseini
2019-08-14 14:40:54 -07:00
committed by GitHub
parent 4a10ff833d
commit 174fe53516

View File

@@ -53,7 +53,7 @@ goog.require('Blockly.Workspace');
* @param {string=} opt_id Optional ID. Use this ID if provided, otherwise
* create a new ID.
* @constructor
* @throw When block is not valid or block name is not allowed.
* @throws When block is not valid or block name is not allowed.
*/
Blockly.Block = function(workspace, prototypeName, opt_id) {
if (typeof Blockly.Generator.prototype[prototypeName] !== 'undefined') {