Removed old impl

This commit is contained in:
2026-06-12 04:51:38 +08:00
parent 4fcd58b5ed
commit f532ada7c4
63 changed files with 717 additions and 1359 deletions
@@ -1,8 +1,8 @@
/** @constructor */
Astro.Blog.AstroEdit.SmartInput.ICandidateAction = function(){};
/** @type {function} */
/** @type {function(function(): void): void} */
Astro.Blog.AstroEdit.SmartInput.ICandidateAction.GetCandidates;
/** @type {function} */
/** @type {function(string): void} */
Astro.Blog.AstroEdit.SmartInput.ICandidateAction.Process;
/** @type {function} */
/** @type {function(Astro.Blog.AstroEdit.SmartInput.ICandidateAction, Event): boolean} */
Astro.Blog.AstroEdit.SmartInput.ICandidateAction.Retreat;
+5 -5
View File
@@ -12,13 +12,13 @@ Astro.utils.Date.smstamp;
/** @type {Function}*/
Astro.utils.Date.chinese;
/** @type {constant}*/
/** @const*/
Astro.utils.Date.MONTH;
/** @type {constant}*/
/** @const*/
Astro.utils.Date.MONTH_ABBR;
/** @type {constant}*/
/** @const*/
Astro.utils.Date.DAY;
/** @type {constant}*/
/** @const*/
Astro.utils.Date.DAY_ABBR;
/** @type {constant}*/
/** @const*/
Astro.utils.Date.CAP_MONTHS;
+9 -9
View File
@@ -1,31 +1,31 @@
/** @constructor */
var Dandelion = function (){}
/** @type {Function} */
/** @type {function(...?): HTMLElement} */
Dandelion.wrap;
/** @type {Function} */
/** @type {function(...?): HTMLElement} */
Dandelion.wrapc;
/** @type {Function} */
/** @type {function(...?): HTMLElement} */
Dandelion.wrape;
/** @type {Function} */
/** @type {function(...?): HTMLElement} */
Dandelion.wrapne;
/** @type {Function} */
/** @type {function(...?): HTMLElement} */
Dandelion.wrapna;
/** @type {Function} */
/** @type {function(string): HTMLElement} */
Dandelion.textNode;
/** @type {Function} */
/** @type {function(string): HTMLElement} */
Dandelion.bubbleUp;
/** @type {Function} */
/** @type {function(HTMLElement, function(HTMLElement): boolean): void} */
Dandelion.chainUpApply;
/** @type {Function} */
/** @type {function(string, boolean=): (HTMLElement|Dandelion.IDOMElement)} */
Dandelion.id;
/** @type {Function} */
@@ -1,42 +1,60 @@
/** @constructor */
Libraries.SyntaxHighlighter = function (){};
Libraries.SyntaxHighlighter = function() {};
/** @type {Function} */
/** @type {function(...?): ?} */
Libraries.SyntaxHighlighter.all;
/** @type {Object} */
/** @type {!Object<string, *>} */
Libraries.SyntaxHighlighter.defaults;
/** @type {Function} */
/** @type {function(...?): ?} */
Libraries.SyntaxHighlighter.highlight;
/** @type {Object} */
/** @type {!Object<string, *>} */
Libraries.SyntaxHighlighter.Highlighter;
/** @type {Object} */
/** @type {!Object<string, *>} */
Libraries.SyntaxHighlighter.brushes;
/** @type {Object} */
/** @type {!Object<string, !RegExp>} */
Libraries.SyntaxHighlighter.regexLib;
/** @constructor */
/** @const */
var SyntaxHighlighter = {};
/** @type {RegExp} */
SyntaxHighlighter.regexLib.aspScriptTags
/** @type {RegExp} */
SyntaxHighlighter.regexLib.doubleQuotedString
/** @type {RegExp} */
SyntaxHighlighter.regexLib.multiLineCComments
/** @type {RegExp} */
SyntaxHighlighter.regexLib.multiLineDoubleQuotedString
/** @type {RegExp} */
SyntaxHighlighter.regexLib.multiLineSingleQuotedString
/** @type {RegExp} */
SyntaxHighlighter.regexLib.phpScriptTags
/** @type {RegExp} */
SyntaxHighlighter.regexLib.scriptScriptTags
/** @type {RegExp} */
SyntaxHighlighter.regexLib.singleLineCComments
/** @type {RegExp} */
SyntaxHighlighter.regexLib.singleLinePerlComments
/** @type {RegExp} */
SyntaxHighlighter.regexLib.singleQuotedString
/** @type {RegExp} */
SyntaxHighlighter.regexLib.xmlComments
/** @type {!Object<string, !RegExp>} */
SyntaxHighlighter.regexLib;
/** @type {!RegExp} */
SyntaxHighlighter.regexLib.aspScriptTags;
/** @type {!RegExp} */
SyntaxHighlighter.regexLib.doubleQuotedString;
/** @type {!RegExp} */
SyntaxHighlighter.regexLib.multiLineCComments;
/** @type {!RegExp} */
SyntaxHighlighter.regexLib.multiLineDoubleQuotedString;
/** @type {!RegExp} */
SyntaxHighlighter.regexLib.multiLineSingleQuotedString;
/** @type {!RegExp} */
SyntaxHighlighter.regexLib.phpScriptTags;
/** @type {!RegExp} */
SyntaxHighlighter.regexLib.scriptScriptTags;
/** @type {!RegExp} */
SyntaxHighlighter.regexLib.singleLineCComments;
/** @type {!RegExp} */
SyntaxHighlighter.regexLib.singleLinePerlComments;
/** @type {!RegExp} */
SyntaxHighlighter.regexLib.singleQuotedString;
/** @type {!RegExp} */
SyntaxHighlighter.regexLib.xmlComments;
@@ -1,7 +1,7 @@
/** @type {constructor} */
/** @constructor */
System.Compression.Zlib = function(){};
/** @type {constructor} */
/** @constructor */
System.Compression.Zlib.Deflate = function(){};
/** @type {Function} */
+3 -3
View File
@@ -8,9 +8,9 @@ System.Log.registerHandler;
/** @type {Function} */
System.Log.removeHandler;
/** @type {const} */
/** @const */
System.Log.ERROR;
/** @type {const} */
/** @const */
System.Log.INFO;
/** @type {const} */
/** @const */
System.Log.SYSTEM;
+2 -2
View File
@@ -1,8 +1,8 @@
/** @type {Object} */
/** @type {!Object<string, *>} */
_AstConf_.AstroEdit = {};
/** @type {String} */
_AstConf_.AstroEdit.article_id;
/** @type {object} */
/** @type {!Object<string, *>} */
_AstConf_.AstroEdit.paths = {};
/** @type {string} */
_AstConf_.AstroEdit.paths.set_article;