projects
/
gnome.introspection-doc-generator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a707ed6
)
JSDOC/ScopeParser.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 15 Jul 2010 04:11:55 +0000
(12:11 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 15 Jul 2010 04:11:55 +0000
(12:11 +0800)
JSDOC/ScopeParser.js
patch
|
blob
|
history
diff --git
a/JSDOC/ScopeParser.js
b/JSDOC/ScopeParser.js
index
d8b7f09
..
c6e2d65
100644
(file)
--- 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.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(" ") + '|' +
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 = {
this.dumpLine = {