diff options
author | Hubert Argasinski <argasinski.hubert@gmail.com> | 2016-10-09 14:38:48 -0400 |
---|---|---|
committer | Hubert Argasinski <argasinski.hubert@gmail.com> | 2016-10-09 14:38:48 -0400 |
commit | 59e9cdac24b7e02ef57cc9a1863cf6ff4b07a0ae (patch) | |
tree | 9bf0c00374b059a2a561e8763318eb4fc46aaacd | |
parent | 98dced30cece0f58e2fb7e3009396b0b35a5ee73 (diff) | |
download | async-59e9cdac24b7e02ef57cc9a1863cf6ff4b07a0ae.tar.gz |
docs: using jQuery/cheerio builtins for adding class
-rw-r--r-- | support/jsdoc/jsdoc-fix-html.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/support/jsdoc/jsdoc-fix-html.js b/support/jsdoc/jsdoc-fix-html.js index c33de90..903d546 100644 --- a/support/jsdoc/jsdoc-fix-html.js +++ b/support/jsdoc/jsdoc-fix-html.js @@ -132,9 +132,7 @@ function scrollSpyFix($page, $nav) { }); - $page.find('[data-type="method"]').each(function() { - $(this).addClass("toc-method"); - }); + $page.find('[data-type="method"]').addClass("toc-method"); $page.find('[id^="."]').each(function() { var $ele = $(this); |