Generalize tags to flags

This commit is contained in:
2015-09-22 19:31:53 +08:00
parent 54464ce395
commit 1d812de551
10 changed files with 315 additions and 230 deletions

View File

@@ -0,0 +1,8 @@
/** @constructor Plugin Interface */
Astro.Blog.AstroEdit.IPlugin = function(){};
/** @type {String} */
Astro.Blog.AstroEdit.IPlugin.id;
/** @type {Function} */
Astro.Blog.AstroEdit.IPlugin.setFromData;
/** @type {Function} */
Astro.Blog.AstroEdit.IPlugin.getSetData;

View File

@@ -1,6 +0,0 @@
/** @constructor */
Astro.Blog.AstroEdit.Tag = function(){};
/** @type {Function} */
Astro.Blog.AstroEdit.Tag.getTags;
/** @type {Function} */
Astro.Blog.AstroEdit.Tag.setTags;

View File

@@ -14,7 +14,15 @@ _AstConf_.AstroEdit.paths = {};
_AstConf_.AstroEdit.paths.get_files;
/** @type {string} */
_AstConf_.AstroEdit.paths.set_file;
/** @type {string} */
_AstConf_.AstroEdit.paths.tag_count;
/** @type {string} */
_AstConf_.AstroEdit.paths.set_tag;
/** @type {object} */
_AstConf_.AstroEdit.tags;
/** @type {object} */
_AstConf_.AstroEdit.sections;
/** @type {object} */
_AstConf_.AstroEdit.flags = {};
/** @type {string} */
_AstConf_.AstroEdit.flags.URICount;
/** @type {string} */
_AstConf_.AstroEdit.flags.URISet;

View File

@@ -27,6 +27,8 @@ _AstJson_.AJaxGetArticle.entry;
_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} */