From 427669c77fcfe14458fbd56f6e1c282f7fdc09ef Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 15 Jul 2010 12:26:17 +0800 Subject: [PATCH] JSDOC/ScopeParser.js --- JSDOC/ScopeParser.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index ad6ac3c..91ecdff 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -201,13 +201,13 @@ ScopeParser.prototype = { if (this.dumpLine.scope == scope.length && this.dumpLine.brace == brace) { this.dumpLine.str += ' ' + tok.data; - if (this.dumpLine.str.length < 80) { - return; + if (this.dumpLine.str.length > 80 || tok.data ==';') { + + print( + // (new Array(this.dumpLine.scope)).join(" ") + '|' + + (new Array(this.dumpLine.brace+1)).join(" ") + this.dumpLine.str); + this.dumpLine.str = ''; } - print( - // (new Array(this.dumpLine.scope)).join(" ") + '|' + - (new Array(this.dumpLine.brace+1)).join(" ") + this.dumpLine.str); - this.dumpLine.str = ''; return; } -- 2.39.2