diff options
author | Bryan Berry <bryan@olenepal.org> | 2009-11-02 20:45:18 (GMT) |
---|---|---|
committer | Bryan Berry <bryan@olenepal.org> | 2009-11-02 20:45:18 (GMT) |
commit | 25099db20a3e533c0ac6aabdf96c97431993dec8 (patch) | |
tree | 78e5ffe3d2842aa0f055348f5ec4bfad9485c6c6 /utils/jsdoc-toolkit/app/plugins/tagParamConfig.js | |
parent | 441f538b4ac4ef05105f59357a32a122602d4aae (diff) |
moved useful stuff in the utils/ directory to bin/ and deleted the rest of the stuff in utils/
Diffstat (limited to 'utils/jsdoc-toolkit/app/plugins/tagParamConfig.js')
-rwxr-xr-x | utils/jsdoc-toolkit/app/plugins/tagParamConfig.js | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/utils/jsdoc-toolkit/app/plugins/tagParamConfig.js b/utils/jsdoc-toolkit/app/plugins/tagParamConfig.js deleted file mode 100755 index 3ea8a1b..0000000 --- a/utils/jsdoc-toolkit/app/plugins/tagParamConfig.js +++ /dev/null @@ -1,31 +0,0 @@ -JSDOC.PluginManager.registerPlugin( - "JSDOC.tagParamConfig", - { - onDocCommentTags: function(comment) { - var currentParam = null; - var tags = comment.tags; - for (var i = 0, l = tags.length; i < l; i++) { - - if (tags[i].title == "param") { - if (tags[i].name.indexOf(".") == -1) { - currentParam = i; - } - } - else if (tags[i].title == "config") { - tags[i].title = "param"; - if (currentParam == null) { - tags[i].name = "arguments"+"."+tags[i].name; - } - else if (tags[i].name.indexOf(tags[currentParam].name+".") != 0) { - tags[i].name = tags[currentParam].name+"."+tags[i].name; - } - currentParam != null - //tags[currentParam].properties.push(tags[i]); - } - else { - currentParam = null; - } - } - } - } -); |