Sha256: 352caddf7b6bf374854aebf3e247ae530965e2fd71d4cf0e61985b46833d1f14
Contents?: true
Size: 453 Bytes
Versions: 71
Compression:
Stored size: 453 Bytes
Contents
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; } } } );
Version data entries
71 entries across 70 versions & 12 rubygems