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" );
|
||||
|
||||
Reference in New Issue
Block a user