diff options
author | Hubert Argasinski <argasinski.hubert@gmail.com> | 2016-06-29 03:10:40 -0400 |
---|---|---|
committer | Hubert Argasinski <argasinski.hubert@gmail.com> | 2016-06-29 03:11:25 -0400 |
commit | 38dc8712e023b6ea88507e0618fee03b05778d90 (patch) | |
tree | 329c370218458085002f5fc6b1f2a4143a196788 /support/jsdoc/jsdoc-fix-html.js | |
parent | 66a6b67b55d9b5c5726fcc22cab98ba1e00ad503 (diff) | |
download | async-38dc8712e023b6ea88507e0618fee03b05778d90.tar.gz |
fixed eslint issues in jsdoc files
Diffstat (limited to 'support/jsdoc/jsdoc-fix-html.js')
-rw-r--r-- | support/jsdoc/jsdoc-fix-html.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/support/jsdoc/jsdoc-fix-html.js b/support/jsdoc/jsdoc-fix-html.js index 3541e91..bf7f6eb 100644 --- a/support/jsdoc/jsdoc-fix-html.js +++ b/support/jsdoc/jsdoc-fix-html.js @@ -6,8 +6,6 @@ var $ = require('cheerio'); var _ = require('lodash'); var docsDir = path.join(__dirname, '../../docs'); -var asyncFile = path.join(__dirname, '../../dist/async.js'); -var customStyleSheet = path.join(__dirname, './jsdoc-custom.css'); var pageTitle = 'Methods:'; @@ -20,7 +18,6 @@ var HTMLFileBegin = '<!DOCTYPE html>\n<html lang="en">\n<head>\n'; var HTMLFileHeadBodyJoin = '</head>\n<body>'; var HTMLFileEnd = '</body>'; -var pageTitlePadding = '12px'; var additionalFooterText = ' Documentation has been modified from the original. ' + ' For more information, please see the <a href="https://github.com/caolan/async">async</a> repository.'; @@ -120,7 +117,6 @@ function applyPreCheerioFixes(data, headLinks) { function addStaticHeader($file, $headerContent) { var $body = $file.find('body'); - var $mainContent = $body.find('#main'); $body.prepend($headerContent); }; @@ -153,7 +149,6 @@ function fixToc($page, moduleFiles) { function fixFooter($page) { // add a note to the footer that the documentation has been modified var $footer = $page.find('footer'); - var text = $footer.text(); $footer.append(additionalFooterText); $page.find('#main').append($footer); }; |