forked from Botanical/BotanJS
Migrate old externs 2/x
This commit is contained in:
@@ -2,15 +2,15 @@
|
||||
{
|
||||
var ns = __namespace( "Astro.Blog.AstroEdit.Visualizer.Snippet" );
|
||||
|
||||
/** @type {System.utils.IKey} */
|
||||
/** @type {typeof System.utils.IKey} */
|
||||
var IKey = __import( "System.utils.IKey" );
|
||||
/** @type {System.utils.DataKey} */
|
||||
/** @type {typeof System.utils.DataKey} */
|
||||
var DataKey = __import( "System.utils.DataKey" );
|
||||
/** @type {function(...?): Dandelion.IDOMElement} */
|
||||
var IDOMElement = __import( "Dandelion.IDOMElement" );
|
||||
/** @type {typeof Dandelion} */
|
||||
var Dand = __import( "Dandelion" );
|
||||
/** @type {Components.MessageBox} */
|
||||
/** @type {typeof Components.MessageBox} */
|
||||
var MessageBox = __import( "Components.MessageBox" );
|
||||
|
||||
var escapeStr = ns[ NS_INVOKE ]( "escapeStr" );
|
||||
@@ -41,7 +41,7 @@
|
||||
, compileListItems = function ()
|
||||
{
|
||||
var arr = [];
|
||||
for ( i in codeLangs )
|
||||
for ( i = 0; i < codeLangs.length; i ++ )
|
||||
{
|
||||
arr[ arr.length ] = Dand.wrapne(
|
||||
"option"
|
||||
@@ -119,7 +119,7 @@
|
||||
}
|
||||
|
||||
var langName;
|
||||
for( var i in codeLangs )
|
||||
for( i = 0; i < codeLangs.length; i ++ )
|
||||
{
|
||||
if( codeLangs[i].keyValue == lang )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user