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:
4f7c48c
)
JSDOC/CompressWhite.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 15 Jul 2010 07:31:47 +0000
(15:31 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 15 Jul 2010 07:31:47 +0000
(15:31 +0800)
JSDOC/CompressWhite.js
patch
|
blob
|
history
diff --git
a/JSDOC/CompressWhite.js
b/JSDOC/CompressWhite.js
index
293c318
..
5c7ffec
100644
(file)
--- a/
JSDOC/CompressWhite.js
+++ b/
JSDOC/CompressWhite.js
@@
-8,9
+8,9
@@
@arg packer {Packer}
*/
-CompressWhite = function (ts, packer)
+CompressWhite = function (ts, packer
, keepWhite
)
{
-
+ keepWhite = keepWhite || false;
ts.rewind();
//var str = File.read(fn);
var rep_var = 1;
@@
-21,6
+21,9
@@
CompressWhite = function (ts, packer)
break;
}
if (tok.type == "WHIT") {
+ if (keepWhite) {
+ ts.look(0).outData = ts.look(0).data;
+ }
continue;
//if (tok._isDoc) {
// continue;