From e5798a7576ca939019f640a61765279fd45b38bb Mon Sep 17 00:00:00 2001 From: Aleksey Chichenkov Date: Thu, 20 Sep 2018 13:53:30 +0300 Subject: [PATCH] remove .idea --- .idea/docs.iml | 12 ------------ .idea/modules.xml | 8 -------- docfiles/libraries/v2/string.js | 7 ++++--- .../managers/trees/globalAttributeTree.js | 2 +- templates/initi/publish.js | 6 +++++- .../static/scripts/parse_complex_type.js | 19 +++++++++++++++++++ 6 files changed, 29 insertions(+), 25 deletions(-) delete mode 100644 .idea/docs.iml delete mode 100644 .idea/modules.xml create mode 100644 templates/initi/static/scripts/parse_complex_type.js diff --git a/.idea/docs.iml b/.idea/docs.iml deleted file mode 100644 index 24643cc..0000000 --- a/.idea/docs.iml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index 6049cfe..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/docfiles/libraries/v2/string.js b/docfiles/libraries/v2/string.js index 73da300..b7cb3a7 100644 --- a/docfiles/libraries/v2/string.js +++ b/docfiles/libraries/v2/string.js @@ -118,13 +118,14 @@ string.prototype = { "+=": function (_o) {}, /** + * Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum * * @public * @function assign * @memberof v2.string - * @param {v2.string} _string - * @param {number} _first - * @param {number} _last + * @param {v2.string} _string asdfasfasdf + * @param {number} _first afasdfasdfasdf + * @param {number} _last asdfasfdasdfas * @returns {this} */ assign: function (_string, _first, _last) {}, diff --git a/docfiles/managers/trees/globalAttributeTree.js b/docfiles/managers/trees/globalAttributeTree.js index a445c08..c0a0ff7 100644 --- a/docfiles/managers/trees/globalAttributeTree.js +++ b/docfiles/managers/trees/globalAttributeTree.js @@ -69,7 +69,7 @@ function Attributes() { * * @public * @function attributes - * @returns {v2.map(v2.string.type, v2.vc.type)} + * @returns {v2.map(v2.string, v2.vc)} * @memberof Trees.GlobalAttributeTree.Node.Attributes */ this.attributes = function() { diff --git a/templates/initi/publish.js b/templates/initi/publish.js index 9829729..ef8bb6a 100644 --- a/templates/initi/publish.js +++ b/templates/initi/publish.js @@ -9,12 +9,16 @@ var path = require('jsdoc/path'); var taffy = require('taffydb').taffy; var template = require('jsdoc/template'); var util = require('util'); +var pct = require('./static/scripts/parse_complex_type'); var htmlsafe = helper.htmlsafe; -var linkto = helper.linkto; +var linkto = pct.linkto; var resolveAuthorLinks = helper.resolveAuthorLinks; var hasOwnProp = Object.prototype.hasOwnProperty; + + + var data; var view; diff --git a/templates/initi/static/scripts/parse_complex_type.js b/templates/initi/static/scripts/parse_complex_type.js new file mode 100644 index 0000000..361dc64 --- /dev/null +++ b/templates/initi/static/scripts/parse_complex_type.js @@ -0,0 +1,19 @@ +/** + * Created by Aleksey Chichenkov on 9/20/18. + */ +var helper = require('jsdoc/util/templateHelper'); +// var linkto = helper.linkto; + + +var linkto = function (_id, _alias, _class) { + // ns.longname, ns.name, "menu-title" + + var rx = /(.*?)\((.*)\)/im; + // /_id.match(rx); + + return helper.linkto(_id, _alias, _class); +}; + +module.exports = { + linkto: linkto +}; \ No newline at end of file