mirror of
https://github.com/google/blockly.git
synced 2026-01-09 01:50:11 +01:00
Minor jsdoc issue (#2826)
The JavaScript closure compiler barfs at this. No such thing as JSDOC @throw.
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user