Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
(JS-D1001) : Documentation comments not found for functions and classes
Browse files Browse the repository at this point in the history
Signed-off-by: dswan36 <damian.swan@st.gactc.edu>
  • Loading branch information
dswan36 committed Sep 5, 2024
1 parent b40d2e0 commit 451315d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/tools/editjsn.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Make the JSON pretty
function beautifyJSON () {
const jsonText = document.getElementById('jsonInput').value
try {
Expand All @@ -8,7 +9,7 @@ function beautifyJSON () {
document.getElementById('output').textContent = 'Error: Invalid JSON'
}
}

// Make sure the JSON isnt crap
function validateJSON () {
const jsonText = document.getElementById('jsonInput').value
try {
Expand All @@ -18,7 +19,7 @@ function validateJSON () {
document.getElementById('output').textContent = 'Error: Invalid JSON'
}
}

// Download the good JSON
function downloadJSON () {
const jsonText = document.getElementById('jsonInput').value
const filename = 'out.json'
Expand Down

0 comments on commit 451315d

Please sign in to comment.