diff options
author | Alexander Early <alexander.early@gmail.com> | 2016-06-30 17:37:25 -0700 |
---|---|---|
committer | Alexander Early <alexander.early@gmail.com> | 2016-06-30 17:37:25 -0700 |
commit | 98f36b4624f9fa953c62bc0b8dea7e1f313fbc2e (patch) | |
tree | c0cc6add4c3eadc96bddbcd7e85ea7624a2e5640 /support/jsdoc/jsdoc-fix-html.js | |
parent | 0e1bdc5c86ff20963c0a91ce725101859b0488fd (diff) | |
download | async-98f36b4624f9fa953c62bc0b8dea7e1f313fbc2e.tar.gz |
copy custom script tag into theme
Diffstat (limited to 'support/jsdoc/jsdoc-fix-html.js')
-rw-r--r-- | support/jsdoc/jsdoc-fix-html.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/support/jsdoc/jsdoc-fix-html.js b/support/jsdoc/jsdoc-fix-html.js index 3d67884..3892d09 100644 --- a/support/jsdoc/jsdoc-fix-html.js +++ b/support/jsdoc/jsdoc-fix-html.js @@ -90,8 +90,6 @@ function combineFakeModules(files, callback) { function applyPreCheerioFixes(data) { - var customScript = '<script src="scripts/jsdoc-custom.js"></script>\n'; - var closingBodyTag = '</body>'; var rIncorrectCFText = />ControlFlow</g; var fixedCFText = '>Control Flow<'; @@ -100,8 +98,6 @@ function applyPreCheerioFixes(data) { // the heading needs additional padding at the top so it doesn't get cutoff return data - // inject the async library onto each page - .replace(closingBodyTag, customScript+closingBodyTag) // for JSDoc to work, the module needs to be labelled 'ControlFlow', while // on the page it should appear as 'Control Flow' .replace(rIncorrectCFText, fixedCFText) |