From 419f7c3b6fbc943e91396581a7ce4e32edeac7c2 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 15 Jul 2010 12:11:55 +0800 Subject: [PATCH] JSDOC/ScopeParser.js --- JSDOC/ScopeParser.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index d8b7f09..c6e2d65 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -201,11 +201,18 @@ ScopeParser.prototype = { if (this.dumpLine.scope == scope.length && this.dumpLine.brace == brace) { this.dumpLine.str += ' ' + tok.data; + if (this.dumpLine.str.length < 80) { + return; + } + print( + (new Array(this.dumpLine.scope)).join(" ") + '|' + + (new Array(this.dumpLine.brace)).join(" ") + this.dumpLine.str); + this.dumpLine.str = ''; return; } print( (new Array(this.dumpLine.scope)).join(" ") + '|' + - (new Array(brace)).join(" ") + this.dumpLine.str); + (new Array(this.dumpLine.brace)).join(" ") + this.dumpLine.str); this.dumpLine = { -- 2.39.2