diff options
Diffstat (limited to 'utils/jsdoc-toolkit/app/plugins/commentSrcJson.js')
-rwxr-xr-x | utils/jsdoc-toolkit/app/plugins/commentSrcJson.js | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/utils/jsdoc-toolkit/app/plugins/commentSrcJson.js b/utils/jsdoc-toolkit/app/plugins/commentSrcJson.js deleted file mode 100755 index e826b57..0000000 --- a/utils/jsdoc-toolkit/app/plugins/commentSrcJson.js +++ /dev/null @@ -1,20 +0,0 @@ -JSDOC.PluginManager.registerPlugin( - "JSDOC.commentSrcJson", - { - onDocCommentSrc: function(comment) { - var json; - if (/^\s*@json\b/.test(comment)) { - comment.src = new String(comment.src).replace("@json", ""); - - eval("json = "+comment.src); - var tagged = ""; - for (var i in json) { - var tag = json[i]; - // todo handle cases where tag is an object - tagged += "@"+i+" "+tag+"\n"; - } - comment.src = tagged; - } - } - } -);
\ No newline at end of file |