Skip to content

Commit ffe1cb1

Browse files
committed
♻️ Removed unnecessary code and variables
1 parent 27637f1 commit ffe1cb1

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

contentstack-templates/publish.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ var util = require('util');
1313
var htmlsafe = helper.htmlsafe;
1414
var linkto = helper.linkto;
1515
var resolveAuthorLinks = helper.resolveAuthorLinks;
16-
var scopeToPunc = helper.scopeToPunc;
1716
var hasOwnProp = Object.prototype.hasOwnProperty;
1817

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

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

300298
if ( !hasOwnProp.call(item, 'longname') ) {
301299
itemsNav += '<li>' + linktoFn('', item.name);

contentstack-templates/static/styles/jsdoc-default.css

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ p, ul, ol, blockquote {
3636

3737
h1, h2, h3, h4, h5, h6 {
3838
font-family: 'Montserrat', sans-serif;
39-
}
40-
41-
h1, h2, h3, h4, h5, h6 {
4239
color: #000;
4340
font-weight: 400;
4441
margin: 0;
@@ -264,11 +261,8 @@ footer {
264261
}
265262

266263
.details ul {
267-
margin: 0
268-
}
269-
270-
.details ul {
271-
list-style-type: none
264+
margin: 0;
265+
list-style-type: none;
272266
}
273267

274268
.details li {

contentstack-templates/static/styles/prettify-tomorrow.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,14 @@ li.L6,
121121
li.L7,
122122
li.L8,
123123
li.L9 {
124-
/* */ }
124+
125+
}
125126

126127
/* Alternate shading for lines */
127128
li.L1,
128129
li.L3,
129130
li.L5,
130131
li.L7,
131132
li.L9 {
132-
/* */ }
133+
134+
}

0 commit comments

Comments
 (0)