added new docs
This commit is contained in:
1 parent
bbaded625d
commit
969b118d15
11 files changed
+77
-19
No files matched your search
@@ -1,4 +1,4 @@
|
||||
# Project attached to cours-420-301-ah
|
||||
|
||||
All the public classes can be accessed via `` and documentation is
|
||||
All the public classes can be accessed at `https://cdn.jsdelivr.net/gh/didiercrunch/cours-420-301-ah@latest/modules-examples/mod.js` and documentation is
|
||||
available at https://didiercrunch.github.io/cours-420-301-ah/.
|
||||
+51
-2
@@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>HockeyGame - https://example.com/foo/ba documentation</title>
|
||||
<title>HockeyGame - Programmation Client II documentation</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="doc-current-symbol" content="HockeyGame">
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
|
||||
<nav id="sidepanel">
|
||||
<h2><a href="index.html"><span>https://example.com/foo/ba</span></a></h2>
|
||||
<h2><a href="index.html"><span>Programmation Client II</span></a></h2>
|
||||
|
||||
<div class="section_title"><div class="symbol_kind kind_Class_text kind_Class_bg" title="Class">
|
||||
c
|
||||
@@ -118,6 +118,55 @@ playing are "home" and "away".</p>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><div>
|
||||
Properties
|
||||
<div class="section">
|
||||
<div class="doc_item" id="property_away">
|
||||
|
||||
<a
|
||||
href="#property_away"
|
||||
class="anchor"
|
||||
aria-label="Anchor"
|
||||
tabIndex=-1
|
||||
>
|
||||
<div style="width: 14px; height: 14px; display: inline-block;">🔗</div>
|
||||
</a>
|
||||
|
||||
<div class="doc_entry">
|
||||
<span class="doc_entry_children">
|
||||
<code>
|
||||
<span style="font-weight: 700;">away</span><span style="font-weight: 500;">
|
||||
: <span>number</span>
|
||||
</span>
|
||||
</code>
|
||||
</span>
|
||||
</div>
|
||||
<div class="markdown"><p>Score of the "away" team</p>
|
||||
</div>
|
||||
</div><div class="doc_item" id="property_home">
|
||||
|
||||
<a
|
||||
href="#property_home"
|
||||
class="anchor"
|
||||
aria-label="Anchor"
|
||||
tabIndex=-1
|
||||
>
|
||||
<div style="width: 14px; height: 14px; display: inline-block;">🔗</div>
|
||||
</a>
|
||||
|
||||
<div class="doc_entry">
|
||||
<span class="doc_entry_children">
|
||||
<code>
|
||||
<span style="font-weight: 700;">home</span><span style="font-weight: 500;">
|
||||
: <span>number</span>
|
||||
</span>
|
||||
</code>
|
||||
</span>
|
||||
</div>
|
||||
<div class="markdown"><p>Score of the "home" team</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><div>
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>INFINITY - https://example.com/foo/ba documentation</title>
|
||||
<title>INFINITY - Programmation Client II documentation</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="doc-current-symbol" content="INFINITY">
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
|
||||
<nav id="sidepanel">
|
||||
<h2><a href="index.html"><span>https://example.com/foo/ba</span></a></h2>
|
||||
<h2><a href="index.html"><span>Programmation Client II</span></a></h2>
|
||||
|
||||
<div class="section_title"><div class="symbol_kind kind_Class_text kind_Class_bg" title="Class">
|
||||
c
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>average - https://example.com/foo/ba documentation</title>
|
||||
<title>average - Programmation Client II documentation</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="doc-current-symbol" content="average">
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
|
||||
<nav id="sidepanel">
|
||||
<h2><a href="index.html"><span>https://example.com/foo/ba</span></a></h2>
|
||||
<h2><a href="index.html"><span>Programmation Client II</span></a></h2>
|
||||
|
||||
<div class="section_title"><div class="symbol_kind kind_Class_text kind_Class_bg" title="Class">
|
||||
c
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Index - https://example.com/foo/ba documentation</title>
|
||||
<title>Index - Programmation Client II documentation</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="doc-current-symbol" content="">
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
|
||||
<div id="sidepanel">
|
||||
<h2><a href="./">https://example.com/foo/ba</a></h2>
|
||||
<h2><a href="./">Programmation Client II</a></h2>
|
||||
<h3>APIs</h3>
|
||||
<ul>
|
||||
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Index - https://example.com/foo/ba documentation</title>
|
||||
<title>Index - Programmation Client II documentation</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="doc-current-symbol" content="">
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
|
||||
<nav id="sidepanel">
|
||||
<h2><a href="./index.html"><span>https://example.com/foo/ba</span></a></h2>
|
||||
<h2><a href="./index.html"><span>Programmation Client II</span></a></h2>
|
||||
|
||||
<div class="section_title"><div class="symbol_kind kind_Class_text kind_Class_bg" title="Class">
|
||||
c
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>isValidIsbn - https://example.com/foo/ba documentation</title>
|
||||
<title>isValidIsbn - Programmation Client II documentation</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="doc-current-symbol" content="isValidIsbn">
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
|
||||
<nav id="sidepanel">
|
||||
<h2><a href="index.html"><span>https://example.com/foo/ba</span></a></h2>
|
||||
<h2><a href="index.html"><span>Programmation Client II</span></a></h2>
|
||||
|
||||
<div class="section_title"><div class="symbol_kind kind_Class_text kind_Class_bg" title="Class">
|
||||
c
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>isValidIsbn10 - https://example.com/foo/ba documentation</title>
|
||||
<title>isValidIsbn10 - Programmation Client II documentation</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="doc-current-symbol" content="isValidIsbn10">
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
|
||||
<nav id="sidepanel">
|
||||
<h2><a href="index.html"><span>https://example.com/foo/ba</span></a></h2>
|
||||
<h2><a href="index.html"><span>Programmation Client II</span></a></h2>
|
||||
|
||||
<div class="section_title"><div class="symbol_kind kind_Class_text kind_Class_bg" title="Class">
|
||||
c
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>isValidIsbn13 - https://example.com/foo/ba documentation</title>
|
||||
<title>isValidIsbn13 - Programmation Client II documentation</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="doc-current-symbol" content="isValidIsbn13">
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
|
||||
<nav id="sidepanel">
|
||||
<h2><a href="index.html"><span>https://example.com/foo/ba</span></a></h2>
|
||||
<h2><a href="index.html"><span>Programmation Client II</span></a></h2>
|
||||
|
||||
<div class="section_title"><div class="symbol_kind kind_Class_text kind_Class_bg" title="Class">
|
||||
c
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>std - https://example.com/foo/ba documentation</title>
|
||||
<title>std - Programmation Client II documentation</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="doc-current-symbol" content="std">
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
|
||||
<nav id="sidepanel">
|
||||
<h2><a href="index.html"><span>https://example.com/foo/ba</span></a></h2>
|
||||
<h2><a href="index.html"><span>Programmation Client II</span></a></h2>
|
||||
|
||||
<div class="section_title"><div class="symbol_kind kind_Class_text kind_Class_bg" title="Class">
|
||||
c
|
||||
|
||||
@@ -4,6 +4,15 @@
|
||||
* playing are "home" and "away".
|
||||
*/
|
||||
export class HockeyGame{
|
||||
/**
|
||||
* Score of the "home" team
|
||||
*/
|
||||
home = 0;
|
||||
|
||||
/**
|
||||
* Score of the "away" team
|
||||
*/
|
||||
away = 0;
|
||||
constructor(){
|
||||
this.home = 0
|
||||
this.away = 0
|
||||
|
||||
Reference in new issue
Block a user