Skip to content

Added JSDoc block comment - #37

Open
ananthajith17 wants to merge 1 commit into
tkmfoss:mainfrom
ananthajith17:main
Open

ananthajith17 wants to merge 1 commit into
tkmfoss:mainfrom
ananthajith17:main

Conversation

@ananthajith17

@ananthajith17 ananthajith17 commented Oct 24, 2026 •

Copy link
Copy Markdown

Summary

Added JSDoc documentation to the main category, theme, and resource-rendering functions.

Related issue

None specified.

Changes made

  • Documented parameters, return values, and fallback behavior for getCategoryLabel() and filterByCategory() in filters.js.
  • Documented theme preferences, application, persistence, and initialization for getPreferredTheme(), applyTheme(), setTheme(), and initTheme() in theme.js.
  • Documented resource data and return values for createResourceCard() and renderResources() in app.js.

Testing performed

  • I ran the site locally and tested the change.
  • I checked the browser console for errors.
  • I tested on desktop and mobile widths.
  • Other: Checked editor diagnostics for the edited JavaScript files; no errors were reported.

Screenshots

Not applicable; these changes only add documentation comments.

Contributor checklist

  • My change follows the existing code style.
  • I have tested my change locally.
  • I have not committed unrelated files.
  • I have commented my code where non-obvious logic lives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant