Fix function definitions so all of them are defined in the same manner

pull/3/head
Brogan Clements 2021-12-03 13:41:58 -05:00
parent a6055be88a
commit 5f981e1940
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ const excludes = [
*
* @return {Object} Returns an Object containing details about the piece of media.
*/
let parseListItem = function (listItem) {
function parseListItem(listItem) {
let stripParens = function (s) {
if (s.slice(0,1) === "(" && s.slice(-1) === ")")
return s.slice(1,-1);
@ -150,7 +150,7 @@ function getMediaFromDirectory(dir) {
return mediaType;
}
let parseMarkdown = function (doc) {
function parseMarkdown(doc) {
let tree = remark.parse(doc).children;
let sections = []; // This will go into root object later
let errors = [];