Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/utils/jsdoc-toolkit/app/plugins/tagParamConfig.js
diff options
context:
space:
mode:
authorBryan Berry <bryan@olenepal.org>2009-11-02 20:45:18 (GMT)
committer Bryan Berry <bryan@olenepal.org>2009-11-02 20:45:18 (GMT)
commit25099db20a3e533c0ac6aabdf96c97431993dec8 (patch)
tree78e5ffe3d2842aa0f055348f5ec4bfad9485c6c6 /utils/jsdoc-toolkit/app/plugins/tagParamConfig.js
parent441f538b4ac4ef05105f59357a32a122602d4aae (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-xutils/jsdoc-toolkit/app/plugins/tagParamConfig.js31
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;
- }
- }
- }
- }
-);