projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d980620
)
Fix include logic was replacing https include with http
author
isaacs
<i@izs.me>
Sat, 17 Mar 2012 18:07:28 +0000
(11:07 -0700)
committer
isaacs
<i@izs.me>
Sat, 17 Mar 2012 18:07:35 +0000
(11:07 -0700)
tools/doc/generate.js
patch
|
blob
|
history
diff --git
a/tools/doc/generate.js
b/tools/doc/generate.js
index af813725326293c4489545189b30f983495d9a65..43e94311ff11a887299604b51cc2c090ad37181c 100755
(executable)
--- a/
tools/doc/generate.js
+++ b/
tools/doc/generate.js
@@
-86,7
+86,7
@@
function processIncludes(input, cb) {
if (er) return cb(errState = er);
incCount--;
includeData[fname] = inc;
- input = input.split(include
).join(includeData[fname]
);
+ input = input.split(include
+'\n').join(includeData[fname]+'\n'
);
if (incCount === 0) {
return cb(null, input);
}