Sha256: 4f4d4ed1334ebd35f331e71f834eb7d6c0ad9b83efad1ead30472260907584d0

Contents?: true

Size: 894 Bytes

Versions: 10

Compression:

Stored size: 894 Bytes

Contents

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;
        }
      }
    }
  }
);

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
sproutcore-0.9.15 jsdoc/app/plugins/tagParamConfig.js
sproutcore-0.9.14 jsdoc/app/plugins/tagParamConfig.js
sproutcore-0.9.18 jsdoc/app/plugins/tagParamConfig.js
sproutcore-0.9.17 jsdoc/app/plugins/tagParamConfig.js
sproutcore-0.9.19 jsdoc/app/plugins/tagParamConfig.js
sproutcore-0.9.16 jsdoc/app/plugins/tagParamConfig.js
sproutcore-0.9.22 jsdoc/app/plugins/tagParamConfig.js
sproutcore-0.9.23 jsdoc/app/plugins/tagParamConfig.js
sproutcore-0.9.21 jsdoc/app/plugins/tagParamConfig.js
sproutcore-0.9.20 jsdoc/app/plugins/tagParamConfig.js