forked from Botanical/BotanJS
Migrate old externs 2/x
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
var EventKey = __import( "System.utils.EventKey" );
|
||||
/** @type {System.Debug} */
|
||||
var debug = __import( "System.Debug" );
|
||||
/** @type {Components.MessageBox} */
|
||||
/** @type {typeof Components.MessageBox} */
|
||||
var MessageBox = __import( "Components.MessageBox" );
|
||||
/** @type {typeof Dandelion} */
|
||||
var Dand = __import( "Dandelion" );
|
||||
@@ -287,9 +287,12 @@
|
||||
window.history.replaceState( ArticleModel, "", base_path + "astroedit/new/" );
|
||||
}
|
||||
}
|
||||
}
|
||||
/** @param {_AstJson_.AJaxGetArticle} */
|
||||
, showArticle = function( obj )
|
||||
},
|
||||
/**
|
||||
* @param {!_AstJson_.AJaxGetArticle} obj
|
||||
* @return {void}
|
||||
*/
|
||||
showArticle = function( obj )
|
||||
{
|
||||
if ( obj && obj.entry )
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
/** @type {System.Cycle} */
|
||||
var Cycle = __import( "System.Cycle" );
|
||||
/** @type {System.utils.IKey} */
|
||||
/** @type {typeof System.utils.IKey} */
|
||||
var IKey = __import( "System.utils.IKey" );
|
||||
/** @type {typeof Dandelion} */
|
||||
var Dand = __import( "Dandelion" );
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
/** @type {System.Debug} */
|
||||
var debug = __import( "System.Debug" );
|
||||
/** @type {Components.MessageBox} */
|
||||
/** @type {typeof Components.MessageBox} */
|
||||
var MessageBox = __import( "Components.MessageBox" );
|
||||
/** @type {typeof Dandelion} */
|
||||
var Dand = __import( "Dandelion" );
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
var debug = __import( "System.Debug" );
|
||||
/** @type {System.utils.Perf} */
|
||||
var Perf = __import( "System.utils.Perf" );
|
||||
/** @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 {System.utils.EventKey} */
|
||||
var EventKey = __import( "System.utils.EventKey" );
|
||||
/** @type {Components.MessageBox} */
|
||||
/** @type {typeof Components.MessageBox} */
|
||||
var MessageBox = __import( "Components.MessageBox" );
|
||||
/** @type {Components.Mouse.ContextMenu} */
|
||||
var ContextMenu = __import( "Components.Mouse.ContextMenu" );
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
{
|
||||
var ns = __namespace( "Astro.Blog.AstroEdit.SmartInput.CandidateAction" );
|
||||
|
||||
/** @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" );
|
||||
|
||||
@@ -15,17 +15,18 @@
|
||||
var Loader = __import( "System.Net.ClassLoader" );
|
||||
/** @type {System.utils} */
|
||||
var utils = __import( "System.utils" );
|
||||
/** @type {System.utils.DataKey} */
|
||||
/** @type {typeof System.utils.DataKey} */
|
||||
var DataKey = __import( "System.utils.DataKey" );
|
||||
/** @type {System.utils.IKey} */
|
||||
/** @type {typeof System.utils.IKey} */
|
||||
var IKey = __import( "System.utils.IKey" );
|
||||
/** @type {Components.MessageBox} */
|
||||
/** @type {typeof Components.MessageBox} */
|
||||
var MessageBox = __import( "Components.MessageBox" );
|
||||
/** @type {Astro.Blog.Config} */
|
||||
var Config = __import( "Astro.Blog.Config" );
|
||||
|
||||
var moduleNs = "Astro.Blog.AstroEdit.SmartInput.CandidateAction.";
|
||||
var service_uri = Config.get( "ServiceUri" );
|
||||
var code;
|
||||
|
||||
var Destructor = function( target )
|
||||
{
|
||||
|
||||
@@ -2,22 +2,21 @@
|
||||
{
|
||||
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 acquirelib = function(insertSnippet, snippetWrap, createContext, override)
|
||||
{
|
||||
var temp, i, j
|
||||
|
||||
, handler = function ()
|
||||
{
|
||||
// Input fields
|
||||
@@ -35,9 +34,13 @@
|
||||
, "OK", "Cancel"
|
||||
, visualizer.bind({ text:input_text, stage: this._stage })
|
||||
).show();
|
||||
}
|
||||
};
|
||||
|
||||
, visualizer = function (submitted, override)
|
||||
/**
|
||||
* @param {boolean} submitted
|
||||
* @param {*} override
|
||||
*/
|
||||
var visualizer = function (submitted, override)
|
||||
{
|
||||
var src = override ? override.value : this.text.value
|
||||
, stage = this && this.stage;
|
||||
|
||||
@@ -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 ArticleContent = function ( insertSnippet, snippetWrap, createContext, override )
|
||||
{
|
||||
@@ -111,10 +111,12 @@
|
||||
// Get title of this article
|
||||
postData(
|
||||
config.paths.get_article
|
||||
, { article_id: id }
|
||||
|
||||
/** @param {_AstJson_.AJaxGetArticle} */
|
||||
, function( e )
|
||||
, { article_id: id },
|
||||
/**
|
||||
* @param {!_AstJson_.AJaxGetArticle} e
|
||||
* @return {void}
|
||||
*/
|
||||
function( e )
|
||||
{
|
||||
ACInfo[1].firstChild.textContent = e.entry.title;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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 )
|
||||
{
|
||||
|
||||
@@ -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 unescapeStr = ns[ NS_INVOKE ]( "unescapeStr" );
|
||||
|
||||
@@ -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 unescapeStr = ns[ NS_INVOKE ]( "unescapeStr" );
|
||||
@@ -32,7 +32,7 @@
|
||||
, compileListItems = function ()
|
||||
{
|
||||
var arr = [];
|
||||
for ( i in Sizes )
|
||||
for (i = 0; i < Sizes.length; i++)
|
||||
{
|
||||
arr[ arr.length ] = Dand.wrapne(
|
||||
"option"
|
||||
@@ -103,8 +103,7 @@
|
||||
heading = this.heading.value;
|
||||
}
|
||||
|
||||
var size;
|
||||
for( var i in Sizes )
|
||||
for(i = 0; i < Sizes.length; i++)
|
||||
{
|
||||
if( Sizes[i].keyValue == size )
|
||||
{
|
||||
|
||||
@@ -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" );
|
||||
|
||||
@@ -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" );
|
||||
|
||||
@@ -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" );
|
||||
@@ -19,7 +19,6 @@
|
||||
var link = function(insertSnippet, snippetWrap, createContext, override)
|
||||
{
|
||||
var temp, i, j
|
||||
|
||||
, handler = function ()
|
||||
{
|
||||
// Input fields
|
||||
@@ -42,9 +41,13 @@
|
||||
, input_a
|
||||
])
|
||||
, "OK", "Cancel", visualizer.bind({text:input_text, href:input_a, stage: this._stage})).show();
|
||||
}
|
||||
|
||||
, visualizer = function (submitted, override)
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {boolean} submitted
|
||||
* @param {*} override
|
||||
*/
|
||||
var visualizer = function (submitted, override)
|
||||
{
|
||||
var src, href, stage = this && this.stage;
|
||||
|
||||
|
||||
@@ -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" );
|
||||
|
||||
@@ -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" );
|
||||
|
||||
@@ -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" );
|
||||
@@ -27,7 +27,7 @@
|
||||
var getData = __import( "System.Net.getData" );
|
||||
|
||||
/** @type {_AstConf_.SiteFile} */
|
||||
var config = null;
|
||||
var config;
|
||||
|
||||
var sitefile = function ( insertSnippet, snippetWrap, createContext, override )
|
||||
{
|
||||
|
||||
@@ -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 compileProp = ns[ NS_INVOKE ]( "compileProp" );
|
||||
|
||||
@@ -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 compileProp = ns[ NS_INVOKE ]( "compileProp" );
|
||||
|
||||
@@ -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 getData = __import( "System.Net.getData" );
|
||||
@@ -48,9 +48,12 @@
|
||||
, Dand.wrape([ Dand.wrapc("v_instruction flsf", "Paste a vimeo/Youtube link below:"), input_url ])
|
||||
, "OK", "Cancel", visualizer.bind(input_url)
|
||||
).show();
|
||||
}
|
||||
|
||||
, visualizer = function (submitted, override)
|
||||
};
|
||||
/**
|
||||
* @param {boolean} submitted
|
||||
* @param {*} override
|
||||
*/
|
||||
var visualizer = function (submitted, override)
|
||||
{
|
||||
var t, v;
|
||||
|
||||
@@ -112,7 +115,7 @@
|
||||
// Set context menu
|
||||
createContext(null, j);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
if (override)
|
||||
{
|
||||
|
||||
@@ -11,15 +11,15 @@
|
||||
var utils = __import( "System.utils" );
|
||||
/** @type {System.utils.Perf} */
|
||||
var Perf = __import( "System.utils.Perf" );
|
||||
/** @type {System.utils.DataKey} */
|
||||
/** @type {typeof System.utils.DataKey} */
|
||||
var DataKey = __import( "System.utils.DataKey" );
|
||||
/** @type {System.utils.EventKey} */
|
||||
var EventKey = __import( "System.utils.EventKey" );
|
||||
/** @type {System.utils.IKey} */
|
||||
/** @type {typeof System.utils.IKey} */
|
||||
var IKey = __import( "System.utils.IKey" );
|
||||
/** @type {System.Net.ClassLoader} */
|
||||
var Loader = __import( "System.Net.ClassLoader" );
|
||||
/** @type {Components.MessageBox} */
|
||||
/** @type {typeof Components.MessageBox} */
|
||||
var MessageBox = __import( "Components.MessageBox" );
|
||||
/** @type {Components.Mouse.ContextMenu} */
|
||||
var ContextMenu = __import( "Components.Mouse.ContextMenu" );
|
||||
|
||||
@@ -110,6 +110,7 @@
|
||||
{
|
||||
var f10Binding = function ( e )
|
||||
{
|
||||
var code;
|
||||
e = e || window.event;
|
||||
if ( e.keyCode ) code = e.keyCode;
|
||||
else if ( e.which ) code = e.which;
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
|
||||
/** @type {System.Cycle} */
|
||||
var Cycle = __import( "System.Cycle" );
|
||||
/** @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 {typeof Dandelion} */
|
||||
var Dand = __import( "Dandelion" );
|
||||
@@ -19,7 +19,7 @@
|
||||
var Conf = __import( "Astro.Blog.Config" );
|
||||
|
||||
/** @type {_AstConf_.SiteFile} */
|
||||
var config = null;
|
||||
var config;
|
||||
|
||||
var SiteFile = ns[ NS_INVOKE ]( "SiteFile" );
|
||||
var BLANK_IMG = __import( "Dandelion.StaticRes.BLANK_IMG" );
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
var debug = __import( "System.Debug" );
|
||||
/** @type {System.Cycle.Trigger} */
|
||||
var Trigger = __import( "System.Cycle.Trigger" );
|
||||
/** @type {System.utils.IKey} */
|
||||
/** @type {typeof System.utils.IKey} */
|
||||
var IKey = __import( "System.utils.IKey" );
|
||||
/** @type {System.utils.EventKey} */
|
||||
var EventKey = __import( "System.utils.EventKey" );
|
||||
/** @type {System.utils.DataKey} */
|
||||
/** @type {typeof System.utils.DataKey} */
|
||||
var DataKey = __import( "System.utils.DataKey" );
|
||||
/** @type {System.utils.Perf} */
|
||||
var Perf = __import( "System.utils.Perf" );
|
||||
|
||||
@@ -7,15 +7,15 @@
|
||||
var Cycle = __import( "System.Cycle" );
|
||||
/** @type {function(...?): Dandelion.IDOMElement} */
|
||||
var IDOMElement = __import( "Dandelion.IDOMElement" );
|
||||
/** @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 {System.utils.EventKey} */
|
||||
var EventKey = __import( "System.utils.EventKey" );
|
||||
/** @type {typeof Dandelion} */
|
||||
var Dand = __import( "Dandelion" );
|
||||
/** @type {Components.MessageBox} */
|
||||
/** @type {typeof Components.MessageBox} */
|
||||
var MessageBox = __import( "Components.MessageBox" );
|
||||
/** @type {Components.Mouse.ContextMenu} */
|
||||
var ContextMenu = __import( "Components.Mouse.ContextMenu" );
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
/** @type {System.Debug} */
|
||||
var debug = __import( "System.Debug" );
|
||||
/** @type {System.utils.IKey} */
|
||||
/** @type {typeof System.utils.IKey} */
|
||||
var IKey = __import( "System.utils.IKey" );
|
||||
/** @type {typeof Dandelion} */
|
||||
var Dand = __import( "Dandelion" );
|
||||
@@ -18,7 +18,7 @@
|
||||
var getSMStamp = __import( "Astro.utils.Date.smstamp" );
|
||||
|
||||
/** @type {_AstConf_.SiteFile} */
|
||||
var config = null;
|
||||
var config;
|
||||
|
||||
var SiteFile = function ( id, hash, nObj )
|
||||
{
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
var ns = __namespace( "Astro.Blog.Components.SocialButtons" );
|
||||
/** @type {typeof Dandelion} */
|
||||
var Dand = __import( "Dandelion" );
|
||||
/** @type {System.utils.IKey} */
|
||||
/** @type {typeof System.utils.IKey} */
|
||||
var IKey = __import( "System.utils.IKey" );
|
||||
/** @type {Astro.Bootstrap} */
|
||||
var Bootstrap = __import( "Astro.Bootstrap" );
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
(function(){
|
||||
var ns = __namespace( "Astro.Blog.Components.ToggleButton.DeleteArticle" );
|
||||
|
||||
/** @type {Components.MessageBox} */
|
||||
/** @type {typeof Components.MessageBox} */
|
||||
var MessageBox = __import( "Components.MessageBox" );
|
||||
/** @type {typeof Dandelion} */
|
||||
var Dand = __import( "Dandelion" );
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
var Bootstrap = __import( "Astro.Bootstrap" );
|
||||
/** @type {Astro.Blog} */
|
||||
var config = __import( "Astro.Blog.Config" );
|
||||
/** @type {System.utils.DataKey} */
|
||||
/** @type {typeof System.utils.DataKey} */
|
||||
var DataKey = __import( "System.utils.DataKey" );
|
||||
|
||||
var postData = __import( "System.Net.postData" );
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
(function(){
|
||||
var ns = __namespace( "Astro.Blog.Components.Video" );
|
||||
|
||||
/** @type {System.utils.IKey} */
|
||||
/** @type {typeof System.utils.IKey} */
|
||||
var IKey = __import( "System.utils.IKey" );
|
||||
/** @type {typeof Dandelion} */
|
||||
var Dand = __import( "Dandelion" );
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
var Dand = __import( "Dandelion" );
|
||||
/** @type {function(...?): Dandelion.IDOMElement} */
|
||||
var IDOMElement = __import( "Dandelion.IDOMElement" );
|
||||
/** @type {Components.MessageBox} */
|
||||
/** @type {typeof Components.MessageBox} */
|
||||
var MessageBox = __import( "Components.MessageBox" );
|
||||
/** @type {Astro.Bootstrap} */
|
||||
var Bootstrap = __import( "Astro.Bootstrap" );
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
|
||||
/** @type {System.Cycle} */
|
||||
var Cycle = __import( "System.Cycle" );
|
||||
/** @type {System.utils.IKey} */
|
||||
/** @type {typeof System.utils.IKey} */
|
||||
var IKey = __import( "System.utils.IKey" );
|
||||
/** @type {Components.MessageBox} */
|
||||
/** @type {typeof Components.MessageBox} */
|
||||
var MessageBox = __import( "Components.MessageBox" );
|
||||
/** @type {typeof Dandelion} */
|
||||
var Dand = __import( "Dandelion" );
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
var Cycle = __import( "System.Cycle" );
|
||||
/** @type {System.Cycle.Trigger} */
|
||||
var Trigger = __import( "System.Cycle.Trigger" );
|
||||
/** @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 {System.utils.Perf} */
|
||||
var Perf = __import( "System.utils.Perf" );
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(function(){
|
||||
var ns = __namespace( "Astro.Blog.Layout.Subs.Manage" );
|
||||
/** @type {Components.MessageBox} */
|
||||
/** @type {typeof Components.MessageBox} */
|
||||
var MessageBox = __import( "Components.MessageBox" );
|
||||
/** @type {typeof Dandelion} */
|
||||
var Dand = __import( "Dandelion" );
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
var Cycle = __import( "System.Cycle" );
|
||||
/** @type {System.Cycle.Trigger} */
|
||||
var Trigger = __import( "System.Cycle.Trigger" );
|
||||
/** @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 {typeof Dandelion} */
|
||||
var Dand = __import( "Dandelion" );
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
/** @type {System.Cycle} */
|
||||
var Cycle = __import( "System.Cycle" );
|
||||
/** @type {System.utils.DataKey} */
|
||||
/** @type {typeof System.utils.DataKey} */
|
||||
var DataKey = __import( "System.utils.DataKey" );
|
||||
/** @type {typeof Dandelion} */
|
||||
var Dand = __import( "Dandelion" );
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
|
||||
/** @type {System.utils} */
|
||||
var utils = __import( "System.utils" );
|
||||
/** @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 {System.utils.EventKey} */
|
||||
var EventKey = __import( "System.utils.EventKey" );
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
/** @type {function(...?): Dandelion.IDOMElement} */
|
||||
var IDOMElement = __import( "Dandelion.IDOMElement" );
|
||||
/** @type {System.utils.DataKey} */
|
||||
/** @type {typeof System.utils.DataKey} */
|
||||
var DataKey = __import( "System.utils.DataKey" );
|
||||
/** @type {System.utils.EventKey} */
|
||||
var EventKey = __import( "System.utils.EventKey" );
|
||||
@@ -35,6 +35,7 @@
|
||||
{
|
||||
return function( e )
|
||||
{
|
||||
var code;
|
||||
sender.__active = true;
|
||||
e = e || window.event;
|
||||
if ( e.keyCode ) code = e.keyCode;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
(function(){
|
||||
var ns = __namespace( "Dandelion" );
|
||||
|
||||
/** @type {System.utils.IKey} */
|
||||
/** @type {typeof System.utils.IKey} */
|
||||
var IKey = __import( "System.utils.IKey" );
|
||||
/** @type {System.utils.Perf} */
|
||||
var Perf = __import( "System.utils.Perf" );
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
var ns = __namespace( "Dandelion" );
|
||||
var IE = __import( "System.Global.IE" );
|
||||
|
||||
/* @type {System.utils.IKey}*/
|
||||
/* @type {typeof System.utils.IKey}*/
|
||||
var IKey = __import( "System.utils.IKey" );
|
||||
|
||||
/* @type {function(...?): Dandelion.IDOMElement}*/
|
||||
@@ -148,7 +148,7 @@
|
||||
return elements( elem, idom );
|
||||
};
|
||||
|
||||
var name = function( name, idom, target )
|
||||
var getname = function( name, idom, target )
|
||||
{
|
||||
target = target === undefined ? document : target;
|
||||
var elem = target.getElementsByName( name );
|
||||
@@ -186,6 +186,6 @@
|
||||
ns[ NS_EXPORT ]( EX_FUNC, "chainUpApply", chainUpApply );
|
||||
ns[ NS_EXPORT ]( EX_FUNC, "id", id );
|
||||
ns[ NS_EXPORT ]( EX_FUNC, "tag", tag );
|
||||
ns[ NS_EXPORT ]( EX_FUNC, "name", name );
|
||||
ns[ NS_EXPORT ]( EX_FUNC, "gname", getname );
|
||||
ns[ NS_EXPORT ]( EX_FUNC, "glass", getClass );
|
||||
})();
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
/** @type {System.utils} */
|
||||
var utils = __import( "System.utils" );
|
||||
/** @type {System.utils.IKey} */
|
||||
/** @type {typeof System.utils.IKey} */
|
||||
var IKey = __import( "System.utils.IKey" );
|
||||
/** @type {System.Encoding.CodePage} */
|
||||
var Utf8 = __import( "System.Encoding.Utf8" );
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
(function(){
|
||||
var ns = __namespace( "System.utils" );
|
||||
var IKey = ns[ NS_INVOKE ]( "IKey" );
|
||||
// Data key
|
||||
var DataKey = function ( name, value )
|
||||
|
||||
/** @type {typeof System.utils.DataKey} */
|
||||
var DataKey;
|
||||
|
||||
DataKey = function ( name, value )
|
||||
{
|
||||
IKey.call(
|
||||
this
|
||||
|
||||
@@ -26,6 +26,7 @@ var __const = __static_method;
|
||||
/* End Shorthand Functions }}}*/
|
||||
|
||||
/*{{{ BotanEvent & EventDispatcher */
|
||||
/** @constructor */
|
||||
/** @this {BotanEvent} */
|
||||
var BotanEvent = function( name, data )
|
||||
{
|
||||
@@ -65,10 +66,11 @@ var BotanEvent = function( name, data )
|
||||
}.bind( this );
|
||||
};
|
||||
|
||||
/** @constructor
|
||||
* @implements {EventTarget}
|
||||
**/
|
||||
var EventDispatcher = function() {
|
||||
|
||||
/** type {typeof EventDispatcher} */
|
||||
var EventDispatcher;
|
||||
|
||||
EventDispatcher = function() {
|
||||
var events = {};
|
||||
var _self = this;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/** @constructor Plugin Interface */
|
||||
Astro.Blog.AstroEdit.IPlugin = function(){};
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
Astro.Blog.AstroEdit.IPlugin.id;
|
||||
/** @type {Function} */
|
||||
Astro.Blog.AstroEdit.IPlugin.setFromData;
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
/** @type {object} */
|
||||
Astro.Blog.AstroEdit.SmartInput.Definition = {};
|
||||
/** @type {String} */
|
||||
Astro.Blog.AstroEdit.SmartInput.Definition.desc;
|
||||
/** @type {String} */
|
||||
Astro.Blog.AstroEdit.SmartInput.Definition.module;
|
||||
/** @type {object} */
|
||||
Astro.Blog.AstroEdit.SmartInput.Definition.option;
|
||||
/**
|
||||
* @typedef {{
|
||||
* module: string,
|
||||
* desc: string,
|
||||
* }}
|
||||
*/
|
||||
Astro.Blog.AstroEdit.SmartInput.Definition;
|
||||
|
||||
@@ -7,12 +7,14 @@ Astro.Blog.Components.Bubble.prototype.init;
|
||||
/** @type {Function} */
|
||||
Astro.Blog.Components.Bubble.prototype.blurp;
|
||||
|
||||
/** @type {Function}
|
||||
* @param {String} mesg
|
||||
/**
|
||||
* @param {string} mesg
|
||||
* @return {void}
|
||||
*/
|
||||
Astro.Blog.Components.Bubble.prototype.pop = function( mesg ) { };
|
||||
Astro.Blog.Components.Bubble.prototype.pop = function(mesg) {};
|
||||
|
||||
/** @type {Function}
|
||||
* @param {String} color
|
||||
/**
|
||||
* @param {string} color
|
||||
* @return {void}
|
||||
*/
|
||||
Astro.Blog.Components.Bubble.prototype.setColor = function( color ) { };
|
||||
Astro.Blog.Components.Bubble.prototype.setColor = function(color) {};
|
||||
|
||||
@@ -4,9 +4,9 @@ Astro.Blog.Components.SiteFile = function() {};
|
||||
/** @type {Function} */
|
||||
Astro.Blog.Components.SiteFile.loadInfo;
|
||||
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
Astro.Blog.Components.SiteFile.hash;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
Astro.Blog.Components.SiteFile.id;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
Astro.Blog.Components.SiteFile.type;
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
Astro.Blog.Config = function() {};
|
||||
|
||||
/** @type {Function} */
|
||||
Astro.Blog.Config.get;
|
||||
Astro.Blog.Config.prototype.get;
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
/** @type {Object} */
|
||||
Astro.Blog.Events.Responsive = {};
|
||||
/** @type {Object} */
|
||||
Astro.Blog.Events.Responsive.data = {};
|
||||
/** @type {Number} */
|
||||
Astro.Blog.Events.Responsive.data.ratio = {};
|
||||
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
/** @type {Object} */
|
||||
Astro.Blog.Events = {};
|
||||
@@ -1,24 +1,24 @@
|
||||
/** @constructor */
|
||||
Astro.utils.Date = function() {};
|
||||
|
||||
/** @type {Function}*/
|
||||
Astro.utils.Date.pretty;
|
||||
/** @type {Function}*/
|
||||
Astro.utils.Date.prettyDay;
|
||||
/** @type {Function}*/
|
||||
Astro.utils.Date.diff;
|
||||
/** @type {Function}*/
|
||||
Astro.utils.Date.smstamp;
|
||||
/** @type {Function}*/
|
||||
Astro.utils.Date.chinese;
|
||||
/** @type {Function} */
|
||||
Astro.utils.Date.prototype.pretty = function() {};
|
||||
/** @type {Function} */
|
||||
Astro.utils.Date.prototype.prettyDay = function() {};
|
||||
/** @type {Function} */
|
||||
Astro.utils.Date.prototype.diff = function() {};
|
||||
/** @type {Function} */
|
||||
Astro.utils.Date.prototype.smstamp = function() {};
|
||||
/** @type {Function} */
|
||||
Astro.utils.Date.prototype.chinese = function() {};
|
||||
|
||||
/** @const*/
|
||||
/** @const */
|
||||
Astro.utils.Date.MONTH;
|
||||
/** @const*/
|
||||
/** @const */
|
||||
Astro.utils.Date.MONTH_ABBR;
|
||||
/** @const*/
|
||||
/** @const */
|
||||
Astro.utils.Date.DAY;
|
||||
/** @const*/
|
||||
/** @const */
|
||||
Astro.utils.Date.DAY_ABBR;
|
||||
/** @const*/
|
||||
/** @const */
|
||||
Astro.utils.Date.CAP_MONTHS;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/** @constructor */
|
||||
var BotanEvent = function (){};
|
||||
|
||||
/** @type {object} */
|
||||
/** @type {*} */
|
||||
BotanEvent.data;
|
||||
|
||||
/** @type {Function} */
|
||||
|
||||
@@ -1,9 +1,16 @@
|
||||
/** @constructor */
|
||||
Components.MessageBox = function() {};
|
||||
/**
|
||||
* @constructor
|
||||
* @param {string} title
|
||||
* @param {string|HTMLElement} content
|
||||
* @param {string} yes
|
||||
* @param {string} no
|
||||
* @param {function(boolean, ...?): void} handler
|
||||
*/
|
||||
Components.MessageBox = function(title, content, yes, no, handler) {};
|
||||
|
||||
/** @type {Function} */
|
||||
Components.MessageBox.setHandler;
|
||||
/** @type {Function} */
|
||||
Components.MessageBox.show;
|
||||
/** @type {Function} */
|
||||
Components.MessageBox.close;
|
||||
/** @param {function(boolean, ...?): void} handler */
|
||||
Components.MessageBox.prototype.setHandler = function(handler) {};
|
||||
/** @type {function(): void} */
|
||||
Components.MessageBox.prototype.show = function() {};
|
||||
/** @type {function(): void} */
|
||||
Components.MessageBox.prototype.close = function() {};
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/** @type Object */
|
||||
Components.Vim.Actions = {};
|
||||
|
||||
/** @type constructor */
|
||||
/** @constructor */
|
||||
Components.Vim.Actions.FIND = function(){};
|
||||
|
||||
/** @type Function */
|
||||
|
||||
@@ -5,7 +5,7 @@ Components.Vim.Controls.ActionEvent = function(){};
|
||||
Components.Vim.Controls.ActionEvent.target;
|
||||
/** @type {Components.Vim.Syntax.TokenMatch} */
|
||||
Components.Vim.Controls.ActionEvent.range;
|
||||
/** @type {Components.Vim.Syntax.Number} */
|
||||
/** @type {Number} */
|
||||
Components.Vim.Controls.ActionEvent.count;
|
||||
/** @type String */
|
||||
Components.Vim.Controls.ActionEvent.key;
|
||||
|
||||
@@ -59,8 +59,8 @@ Components.Vim.Cursor.Y;
|
||||
Components.Vim.Cursor.aPos;
|
||||
/** @type Number */
|
||||
Components.Vim.Cursor.cols;
|
||||
/** @type message */
|
||||
Components.Vim.Cursor.string;
|
||||
/** @type {string} */
|
||||
Components.Vim.Cursor.message;
|
||||
/** @type Object */
|
||||
Components.Vim.Cursor.position;
|
||||
/** @type Number */
|
||||
|
||||
@@ -8,7 +8,7 @@ Components.Vim.LineBuffer.prev;
|
||||
/** @type {Components.Vim.LineBuffer} */
|
||||
Components.Vim.LineBuffer.nextLine;
|
||||
|
||||
/** @type EventDispatcher */
|
||||
/** @type {EventDispatcher} */
|
||||
Components.Vim.LineBuffer.dispatcher;
|
||||
|
||||
/** @type Function */
|
||||
|
||||
@@ -46,5 +46,5 @@ Components.Vim.LineFeeder.docPos;
|
||||
Components.Vim.LineFeeder.line;
|
||||
/** @type String */
|
||||
Components.Vim.LineFeeder.lineStat;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
Components.Vim.LineFeeder.content;
|
||||
|
||||
@@ -32,7 +32,7 @@ Dandelion.id = function() {};
|
||||
Dandelion.tag = function() {};
|
||||
|
||||
/** @type {Function} */
|
||||
Dandelion.name = function() {};
|
||||
Dandelion.gname = function() {};
|
||||
|
||||
/** @type {Function} */
|
||||
Dandelion.glass = function() {};
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
/** @constructor
|
||||
* @implements {EventTarget}
|
||||
**/
|
||||
var EventDispatcher = function() {};
|
||||
@@ -2,10 +2,10 @@
|
||||
System.Cycle.Trigger = function (){}
|
||||
|
||||
/** @type {Function} */
|
||||
System.Cycle.Trigger.register;
|
||||
System.Cycle.Trigger.prototype.register = function() {};
|
||||
|
||||
/** @type {Function} */
|
||||
System.Cycle.Trigger.transition;
|
||||
System.Cycle.Trigger.prototype.transition = function() {};
|
||||
|
||||
/** @type {Function} */
|
||||
System.Cycle.Trigger.height;
|
||||
System.Cycle.Trigger.prototype.height = function() {};
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
/** @constructor
|
||||
* @extends {System.utils.IKey}
|
||||
/**
|
||||
* @constructor
|
||||
* @extends {System.utils.IKey}
|
||||
* @param {string} key
|
||||
* @param {*} data
|
||||
*/
|
||||
System.utils.DataKey = function (){}
|
||||
System.utils.DataKey = function(key, data) {};
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
*/
|
||||
System.utils.EventKey = function (){};
|
||||
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
System.utils.EventKey.type;
|
||||
|
||||
/** @type {Function} */
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
/** @constructor */
|
||||
System.utils.IKey = function (){}
|
||||
/**
|
||||
* @constructor
|
||||
* @param {string} keyName
|
||||
* @param {string} keyValue
|
||||
*/
|
||||
System.utils.IKey = function(keyName, keyValue) {};
|
||||
|
||||
/** @type {string} */
|
||||
System.utils.IKey.keyName;
|
||||
System.utils.IKey.prototype.keyName;
|
||||
|
||||
/** @type {object} */
|
||||
System.utils.IKey.keyValue;
|
||||
/** @type {string} */
|
||||
System.utils.IKey.prototype.keyValue;
|
||||
|
||||
/** @type {Function} */
|
||||
/** @type {function(...?): !Array<!System.utils.IKey>} */
|
||||
System.utils.IKey.quickDef;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
/** @constructor */
|
||||
System.utils.Perf = function (){}
|
||||
|
||||
/** @type {String} */
|
||||
System.utils.Perf.uuid;
|
||||
/** @type {string} */
|
||||
System.utils.Perf.prototype.uuid;
|
||||
|
||||
/** @type {Function} */
|
||||
System.utils.Perf.ArrayReverse;
|
||||
System.utils.Perf.prototype.ArrayReverse;
|
||||
/** @type {Function} */
|
||||
System.utils.Perf.CountSubstr;
|
||||
System.utils.Perf.prototype.CountSubstr;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/** @type {Object} */
|
||||
_AstConf_.Article = {};
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstConf_.Article.id;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/** @type {!Object<string, *>} */
|
||||
_AstConf_.AstroEdit = {};
|
||||
/** @type {String} */
|
||||
_AstConf_.AstroEdit.article_id;
|
||||
/** @type {!Object<string, *>} */
|
||||
_AstConf_.AstroEdit.paths = {};
|
||||
/** @type {string} */
|
||||
_AstConf_.AstroEdit.paths.set_article;
|
||||
/** @type {string} */
|
||||
_AstConf_.AstroEdit.paths.get_article;
|
||||
/** @type {string} */
|
||||
_AstConf_.AstroEdit.paths.list_articles;
|
||||
/** @type {string} */
|
||||
_AstConf_.AstroEdit.paths.get_drafts;
|
||||
/** @type {string} */
|
||||
_AstConf_.AstroEdit.paths.get_files;
|
||||
/** @type {string} */
|
||||
_AstConf_.AstroEdit.paths.set_file;
|
||||
/**
|
||||
* @typedef {{
|
||||
* article_id: string,
|
||||
* paths: !_AstConf_.AstroEdit.Paths,
|
||||
* tags: !Object<string, *>,
|
||||
* sections: !Object<string, *>,
|
||||
* flags: !_AstConf_.AstroEdit.Flags
|
||||
* }}
|
||||
*/
|
||||
_AstConf_.AstroEdit;
|
||||
|
||||
/** @type {object} */
|
||||
_AstConf_.AstroEdit.tags;
|
||||
/** @type {object} */
|
||||
_AstConf_.AstroEdit.sections;
|
||||
/**
|
||||
* @typedef {{
|
||||
* set_article: string,
|
||||
* get_article: string,
|
||||
* list_articles: string,
|
||||
* get_drafts: string,
|
||||
* get_files: string,
|
||||
* set_file: string
|
||||
* }}
|
||||
*/
|
||||
_AstConf_.AstroEdit.Paths;
|
||||
|
||||
/** @type {!Object<string, *>} */
|
||||
_AstConf_.AstroEdit.flags = {};
|
||||
/** @type {string} */
|
||||
_AstConf_.AstroEdit.flags.URICount;
|
||||
/** @type {string} */
|
||||
_AstConf_.AstroEdit.flags.URISet;
|
||||
/**
|
||||
* @typedef {{
|
||||
* URICount: string,
|
||||
* URISet: string
|
||||
* }}
|
||||
*/
|
||||
_AstConf_.AstroEdit.Flags;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/** @type {Object} */
|
||||
_AstConf_.Comment = {};
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstConf_.Comment.processor;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstConf_.Comment.siteKey;
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
_AstConf_.Control = {};
|
||||
/** @type {Object} */
|
||||
_AstConf_.Control.action;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstConf_.Control.action.del;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
/** @type {Object} */
|
||||
_AstConf_.Login = {};
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstConf_.Login.formAct;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstConf_.Login.sHeat;
|
||||
/** @type {Number} */
|
||||
_AstConf_.Login.sTTR;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/** @type {Object} */
|
||||
_AstConf_.Notification = {};
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstConf_.Notification.processor;
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
/** @type {Object} */
|
||||
_AstConf_.SiteFile = {};
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstConf_.SiteFile.f_host;
|
||||
|
||||
/** @type {Object} */
|
||||
_AstConf_.SiteFile.path;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstConf_.SiteFile.path.download;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstConf_.SiteFile.path.info;
|
||||
/** @type {Object} */
|
||||
_AstConf_.SiteFile.path.image;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstConf_.SiteFile.path.image.small;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstConf_.SiteFile.path.image.medium;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstConf_.SiteFile.path.image.large;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstConf_.SiteFile.path.image.original;
|
||||
/** @type {Array} */
|
||||
_AstConf_.SiteFile.files;
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
/** @type {Object} */
|
||||
_AstConf_.UserInfo = {};
|
||||
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstConf_.UserInfo.name;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstConf_.UserInfo.website;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstConf_.UserInfo.avatar;
|
||||
|
||||
@@ -1,35 +1,27 @@
|
||||
/** @type {Object} */
|
||||
_AstJson_.AJaxGetArticle = {};
|
||||
/**
|
||||
* @typedef {{
|
||||
* status: boolean,
|
||||
* ref_id: string,
|
||||
* article_id: string,
|
||||
* entry: !_AstJson_.AJaxGetArticle.Entry
|
||||
* }}
|
||||
*/
|
||||
_AstJson_.AJaxGetArticle;
|
||||
|
||||
/** @type {Boolean} */
|
||||
_AstJson_.AJaxGetArticle.status;
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetArticle.ref_id;
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetArticle.article_id;
|
||||
/** @type {Object} */
|
||||
_AstJson_.AJaxGetArticle.entry;
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetArticle.entry._id;
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetArticle.entry.slug;
|
||||
/** @type {Boolean} */
|
||||
_AstJson_.AJaxGetArticle.entry.archived;
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetArticle.entry.date_created;
|
||||
/** @type {Boolean} */
|
||||
_AstJson_.AJaxGetArticle.entry.draft;
|
||||
/** @type {Boolean} */
|
||||
_AstJson_.AJaxGetArticle.entry.featured;
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetArticle.entry.date_modified;
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetArticle.entry.date_published;
|
||||
/** @type {Array} */
|
||||
_AstJson_.AJaxGetArticle.entry.tags;
|
||||
/** @type {Array} */
|
||||
_AstJson_.AJaxGetArticle.entry.section;
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetArticle.entry.text;
|
||||
/** @type {String} */
|
||||
_AstJson_.AJaxGetArticle.entry.title;
|
||||
/**
|
||||
* @typedef {{
|
||||
* _id: string,
|
||||
* slug: string,
|
||||
* archived: boolean,
|
||||
* date_created: string,
|
||||
* draft: boolean,
|
||||
* featured: boolean,
|
||||
* date_modified: string,
|
||||
* date_published: string,
|
||||
* tags: !Array<string>,
|
||||
* section: !Array<string>,
|
||||
* text: string,
|
||||
* title: string
|
||||
* }}
|
||||
*/
|
||||
_AstJson_.AJaxGetArticle.Entry;
|
||||
|
||||
@@ -8,11 +8,11 @@ _AstJson_.AJaxGetDrafts.entries;
|
||||
|
||||
/** @type {Object} */
|
||||
_AstJson_.AJaxGetDrafts.entry = {};
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstJson_.AJaxGetDrafts.entry.content;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstJson_.AJaxGetDrafts.entry.date;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstJson_.AJaxGetDrafts.entry._id;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstJson_.AJaxGetDrafts.entry.title;
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
/** @type {Object} */
|
||||
_AstJson_.AJaxGetFiles.Request = {};
|
||||
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstJson_.AJaxGetFiles.Request.from;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstJson_.AJaxGetFiles.Request.to;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstJson_.AJaxGetFiles.Request.group;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstJson_.AJaxGetFiles.Request.listFiles;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstJson_.AJaxGetFiles.Request.aid;
|
||||
|
||||
@@ -8,17 +8,17 @@ _AstJson_.AJaxGetFiles.files;
|
||||
|
||||
/** @type {Object} */
|
||||
_AstJson_.AJaxGetFiles.file = {};
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstJson_.AJaxGetFiles.file.author;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstJson_.AJaxGetFiles.file.cCount;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstJson_.AJaxGetFiles.file.date;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstJson_.AJaxGetFiles.file.hash;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstJson_.AJaxGetFiles.file.id;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstJson_.AJaxGetFiles.file.name;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstJson_.AJaxGetFiles.file.src_location;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
/** @type {Object} */
|
||||
_AstJson_.AJaxGetNotis = {};
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstJson_.AJaxGetNotis.mesg;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstJson_.AJaxGetNotis.id;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstJson_.AJaxGetNotis.date;
|
||||
|
||||
@@ -3,27 +3,27 @@ _AstJson_.SiteFile = {};
|
||||
|
||||
/** @type {Boolean} */
|
||||
_AstJson_.SiteFile.status;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstJson_.SiteFile.message;
|
||||
/** @type {Object} */
|
||||
_AstJson_.SiteFile.file;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstJson_.SiteFile.file.date_created;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstJson_.SiteFile.file.name;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstJson_.SiteFile.file.id;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstJson_.SiteFile.file.nickname;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstJson_.SiteFile.file.type;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstJson_.SiteFile.file.src_location;
|
||||
/** @type {Object} */
|
||||
_AstConf_.SiteFile.thumbes;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstConf_.SiteFile.thumbs.small;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstConf_.SiteFile.thumbs.medium;
|
||||
/** @type {String} */
|
||||
/** @type {string} */
|
||||
_AstConf_.SiteFile.thumbs.large;
|
||||
|
||||
Reference in New Issue
Block a user