From 9aa488a01d4983efc86a3da0e22ac6f9bc655f53 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 15 Jul 2010 12:30:46 +0800 Subject: [PATCH] JSDOC/ScopeParser.js --- JSDOC/ScopeParser.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index 91ecdff..96cd824 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -192,7 +192,7 @@ ScopeParser.prototype = { dumpToken: function (tok, scope, brace) { if (this.dumpLine == false) { this.dumpLine = { - str : '' +tok.data, + str : tok.data + ' ' scope : scope.length, brace : brace } @@ -200,7 +200,7 @@ ScopeParser.prototype = { } if (this.dumpLine.scope == scope.length && this.dumpLine.brace == brace) { - this.dumpLine.str += ' ' + tok.data; + this.dumpLine.str += tok.data + ' '; if (this.dumpLine.str.length > 80 || tok.data ==';') { print( @@ -217,7 +217,7 @@ ScopeParser.prototype = { this.dumpLine = { - str : '' +tok.data, + str : tok.data + ' ', scope : scope.length, brace : brace } -- 2.39.2