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" );
|
||||
/** @type {Astro.Blog.Config} */
|
||||
var Config = __import( "Astro.Blog.Config" );
|
||||
@@ -26,7 +26,7 @@
|
||||
var postData = __import( "System.Net.postData" );
|
||||
|
||||
/** @type {_AstConf_.AstroEdit} */
|
||||
var config = null;
|
||||
var config;
|
||||
|
||||
var ArticleLink = function ( insertSnippet, snippetWrap, createContext, override )
|
||||
{
|
||||
@@ -115,10 +115,12 @@
|
||||
{
|
||||
postData(
|
||||
config.paths.get_article
|
||||
, { article_id: id }
|
||||
|
||||
/** @param {_AstJson_.AJaxGetArticle} */
|
||||
, function( e )
|
||||
, { article_id: id },
|
||||
/**
|
||||
* @param {!_AstJson_.AJaxGetArticle} e
|
||||
* @return {void}
|
||||
*/
|
||||
function( e )
|
||||
{
|
||||
j.firstChild.textContent = e.entry.title;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user