mirror of
https://github.com/google/blockly.git
synced 2026-01-10 02:17:09 +01:00
Adding JsDoc @this for closure in jsonInitFactory(). (#1833)
This commit is contained in:
committed by
GitHub
parent
9ce9c6f7d9
commit
42e0439aa3
@@ -386,6 +386,7 @@ Blockly.prompt = function(message, defaultValue, callback) {
|
||||
* @private
|
||||
*/
|
||||
Blockly.jsonInitFactory_ = function(jsonDef) {
|
||||
/** @this Blockly.Block */
|
||||
return function() {
|
||||
this.jsonInit(jsonDef);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user