Skip to content

Commit

Permalink
add js doc folder
Browse files Browse the repository at this point in the history
  • Loading branch information
kimseongah committed Jun 7, 2024
1 parent 59adbf0 commit ca68d01
Show file tree
Hide file tree
Showing 30 changed files with 19,295 additions and 0 deletions.
708 changes: 708 additions & 0 deletions js-doc/calendar_calendar.js.html

Large diffs are not rendered by default.

Binary file added js-doc/fonts/OpenSans-Bold-webfont.eot
Binary file not shown.
1,830 changes: 1,830 additions & 0 deletions js-doc/fonts/OpenSans-Bold-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added js-doc/fonts/OpenSans-Bold-webfont.woff
Binary file not shown.
Binary file added js-doc/fonts/OpenSans-BoldItalic-webfont.eot
Binary file not shown.
1,830 changes: 1,830 additions & 0 deletions js-doc/fonts/OpenSans-BoldItalic-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added js-doc/fonts/OpenSans-BoldItalic-webfont.woff
Binary file not shown.
Binary file added js-doc/fonts/OpenSans-Italic-webfont.eot
Binary file not shown.
1,830 changes: 1,830 additions & 0 deletions js-doc/fonts/OpenSans-Italic-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added js-doc/fonts/OpenSans-Italic-webfont.woff
Binary file not shown.
Binary file added js-doc/fonts/OpenSans-Light-webfont.eot
Binary file not shown.
1,831 changes: 1,831 additions & 0 deletions js-doc/fonts/OpenSans-Light-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added js-doc/fonts/OpenSans-Light-webfont.woff
Binary file not shown.
Binary file added js-doc/fonts/OpenSans-LightItalic-webfont.eot
Binary file not shown.
1,835 changes: 1,835 additions & 0 deletions js-doc/fonts/OpenSans-LightItalic-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added js-doc/fonts/OpenSans-LightItalic-webfont.woff
Binary file not shown.
Binary file added js-doc/fonts/OpenSans-Regular-webfont.eot
Binary file not shown.
1,831 changes: 1,831 additions & 0 deletions js-doc/fonts/OpenSans-Regular-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added js-doc/fonts/OpenSans-Regular-webfont.woff
Binary file not shown.
5,864 changes: 5,864 additions & 0 deletions js-doc/global.html

Large diffs are not rendered by default.

73 changes: 73 additions & 0 deletions js-doc/homepage.js.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Source: homepage.js</title>

<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>

<body>

<div id="main">

<h1 class="page-title">Source: homepage.js</h1>






<section>
<article>
<pre class="prettyprint source linenums"><code>window.addEventListener('DOMContentLoaded', init);

function init() {
getDate('current-date')
}

/**
* Displays the current date in a specified HTML container.
* The date is formatted in a long format with the day of the week, the month name, the day of the month, and the year.
*
* @param {string} container_id - The ID of the HTML container where the date will be displayed.
*/
function getDate(container_id) {
// Get the current date
const currentDate = new Date();

// Format the date (e.g., "May 8, 2024")
const formattedDate = currentDate.toLocaleDateString('en-US', { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' });

// Display the date in the designated container
const dateContainer = document.getElementById(container_id);
dateContainer.textContent = formattedDate;
}</code></pre>
</article>
</section>




</div>

<nav>
<h2><a href="index.html">Home</a></h2><h3>Global</h3><ul><li><a href="global.html#getDate">getDate</a></li></ul>
</nav>

<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.3</a> on Fri May 10 2024 14:56:56 GMT-0700 (미 태평양 하계 표준시)
</footer>

<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>
Loading

0 comments on commit ca68d01

Please sign in to comment.