forked from Botanical/BotanJS
Migrate old externs 5/x
This commit is contained in:
@@ -69,6 +69,7 @@
|
||||
this.title = title;
|
||||
this.desc = desc;
|
||||
this.__cands = [];
|
||||
/** @type Array<Astro.Blog.AstroEdit.SmartInput.Definition> */
|
||||
this.__defs = defs || {};
|
||||
this.Empty = !defs;
|
||||
};
|
||||
@@ -79,7 +80,6 @@
|
||||
|
||||
for( var i in this.__defs )
|
||||
{
|
||||
/** @param {Astro.Blog.AstroEdit.SmartInput.Definition} */
|
||||
var c = this.__defs[i];
|
||||
this.__cands.push( Dand.wrapc( "cn", [ i, Dand.wrapc( "desc", c.desc ) ], new DataKey( "key", i ) ) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user