Skip to content

Commit

Permalink
♻️ Removed unnecessary code and variables
Browse files Browse the repository at this point in the history
  • Loading branch information
uttamukkoji committed Oct 21, 2021
1 parent 27637f1 commit ffe1cb1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
2 changes: 0 additions & 2 deletions contentstack-templates/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ var util = require('util');
var htmlsafe = helper.htmlsafe;
var linkto = helper.linkto;
var resolveAuthorLinks = helper.resolveAuthorLinks;
var scopeToPunc = helper.scopeToPunc;
var hasOwnProp = Object.prototype.hasOwnProperty;

var data;
Expand Down Expand Up @@ -295,7 +294,6 @@ function buildMemberNav(items, itemHeading, itemsSeen, linktoFn) {

items.forEach(function(item) {
var methods = find({kind:'function', memberof: item.longname});
var members = find({kind:'member', memberof: item.longname});

if ( !hasOwnProp.call(item, 'longname') ) {
itemsNav += '<li>' + linktoFn('', item.name);
Expand Down
10 changes: 2 additions & 8 deletions contentstack-templates/static/styles/jsdoc-default.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ p, ul, ol, blockquote {

h1, h2, h3, h4, h5, h6 {
font-family: 'Montserrat', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
color: #000;
font-weight: 400;
margin: 0;
Expand Down Expand Up @@ -264,11 +261,8 @@ footer {
}

.details ul {
margin: 0
}

.details ul {
list-style-type: none
margin: 0;
list-style-type: none;
}

.details li {
Expand Down
6 changes: 4 additions & 2 deletions contentstack-templates/static/styles/prettify-tomorrow.css
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,14 @@ li.L6,
li.L7,
li.L8,
li.L9 {
/* */ }

}

/* Alternate shading for lines */
li.L1,
li.L3,
li.L5,
li.L7,
li.L9 {
/* */ }

}

0 comments on commit ffe1cb1

Please sign in to comment.