Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
if (toHighlight.hasOwnProperty(id)) {
highlight(toHighlight[id], function (output) {
readme = readme.replace('//js:' + id, output);
delete toHighlight[id];
highlightSnippets();
});
return;
}
}
writeIndex();
};
highlightSnippets();
// run docco for libs
require('docco').run([
'', '',
'--css', 'site/main.css',
'--template', 'site/docco.jst',
'lib/*.js']);
// run docco for unit tests
require('docco').run([
'', '',
'--css', 'site/main.css',
'--template', 'site/docco.jst',
'--output', 'docs/test/',
'test/*.js']);