Skip to content

Commit

Permalink
updated docs for JSDocs
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisEdwardsCSE committed Jun 5, 2024
1 parent 83beda5 commit c3525ed
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions source/homepage/homepage.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ function selectWidget(buttonIndex) {

/**
* Adds button functionality to task upon creation
* @param {Task Node} task - the task to have functionality
* @param {HTMLElement} task - the task to have functionality
*/
function taskButtonsFunctionality(task) {

Expand Down Expand Up @@ -476,7 +476,8 @@ function saveCompleted() {

/**
* Fetch completed tasks from storage in proper format
* @returns
*
* @returns {string} tasks data in proper format
*/
function getCompleted() {
let data = getJournal();
Expand Down Expand Up @@ -556,7 +557,7 @@ function loadAll() {

/**
*
* @param {Node} cellData - Data for specified day
* @param {HTMLElement} cellData - Data for specified day
* @param {Date} currWeekDay - Date to populate data within
*/
function loadCellData(cellData, currWeekDay) {
Expand Down

0 comments on commit c3525ed

Please sign in to comment.