Browse Source

Fix include logic was replacing https include with http

v0.9.1-release
isaacs 13 years ago
parent
commit
815169383e
  1. 2
      tools/doc/generate.js

2
tools/doc/generate.js

@ -86,7 +86,7 @@ function processIncludes(input, cb) {
if (er) return cb(errState = er); if (er) return cb(errState = er);
incCount--; incCount--;
includeData[fname] = inc; includeData[fname] = inc;
input = input.split(include).join(includeData[fname]); input = input.split(include+'\n').join(includeData[fname]+'\n');
if (incCount === 0) { if (incCount === 0) {
return cb(null, input); return cb(null, input);
} }

Loading…
Cancel
Save