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:
edf4657
)
JSDOC/CompressWhite.js
author
Alan Knowles
<alan@akbkhome.com>
Fri, 16 Jul 2010 05:30:38 +0000
(13:30 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 16 Jul 2010 05:30:38 +0000
(13:30 +0800)
JSDOC/CompressWhite.js
patch
|
blob
|
history
diff --git
a/JSDOC/CompressWhite.js
b/JSDOC/CompressWhite.js
index
86ef6fa
..
e284e80
100644
(file)
--- a/
JSDOC/CompressWhite.js
+++ b/
JSDOC/CompressWhite.js
@@
-275,13
+275,13
@@
CompressWhite = function (ts, packer, keepWhite)
while (true) {
tok = keepWhite ? ts.next() : ts.nextTok();
while (true) {
tok = keepWhite ? ts.next() : ts.nextTok();
- if (tok.type == "COMM") {
- tok.outDate == '\n';
- }
+
if (!tok) {
break;
}
if (!tok) {
break;
}
-
+ if (tok.type == "COMM") {
+ tok.outData == '\n';
+ }
if (tok.type == "NAME" && tok.identifier && tok.identifier.mungedValue && tok.identifier.mungedValue.length) {
//f.write(tok.identifier.mungedValue);
if (tok.type == "NAME" && tok.identifier && tok.identifier.mungedValue && tok.identifier.mungedValue.length) {
//f.write(tok.identifier.mungedValue);