added new docs
This commit is contained in:
1 parent
bbaded625d
commit
969b118d15
12 files changed
+78
-20
No files matched your search
@@ -1,4 +1,4 @@
|
|||||||
# Project attached to cours-420-301-ah
|
# 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/.
|
available at https://didiercrunch.github.io/cours-420-301-ah/.
|
||||||
+51
-2
@@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>HockeyGame - https://example.com/foo/ba documentation</title>
|
<title>HockeyGame - Programmation Client II documentation</title>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta name="doc-current-symbol" content="HockeyGame">
|
<meta name="doc-current-symbol" content="HockeyGame">
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<nav id="sidepanel">
|
<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">
|
<div class="section_title"><div class="symbol_kind kind_Class_text kind_Class_bg" title="Class">
|
||||||
c
|
c
|
||||||
@@ -118,6 +118,55 @@ playing are "home" and "away".</p>
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</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>
|
||||||
</div><div>
|
</div><div>
|
||||||
|
|||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>INFINITY - https://example.com/foo/ba documentation</title>
|
<title>INFINITY - Programmation Client II documentation</title>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta name="doc-current-symbol" content="INFINITY">
|
<meta name="doc-current-symbol" content="INFINITY">
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<nav id="sidepanel">
|
<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">
|
<div class="section_title"><div class="symbol_kind kind_Class_text kind_Class_bg" title="Class">
|
||||||
c
|
c
|
||||||
|
|||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>average - https://example.com/foo/ba documentation</title>
|
<title>average - Programmation Client II documentation</title>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta name="doc-current-symbol" content="average">
|
<meta name="doc-current-symbol" content="average">
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<nav id="sidepanel">
|
<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">
|
<div class="section_title"><div class="symbol_kind kind_Class_text kind_Class_bg" title="Class">
|
||||||
c
|
c
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Index - https://example.com/foo/ba documentation</title>
|
<title>Index - Programmation Client II documentation</title>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta name="doc-current-symbol" content="">
|
<meta name="doc-current-symbol" content="">
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<div id="sidepanel">
|
<div id="sidepanel">
|
||||||
<h2><a href="./">https://example.com/foo/ba</a></h2>
|
<h2><a href="./">Programmation Client II</a></h2>
|
||||||
<h3>APIs</h3>
|
<h3>APIs</h3>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Index - https://example.com/foo/ba documentation</title>
|
<title>Index - Programmation Client II documentation</title>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta name="doc-current-symbol" content="">
|
<meta name="doc-current-symbol" content="">
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<nav id="sidepanel">
|
<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">
|
<div class="section_title"><div class="symbol_kind kind_Class_text kind_Class_bg" title="Class">
|
||||||
c
|
c
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>isValidIsbn - https://example.com/foo/ba documentation</title>
|
<title>isValidIsbn - Programmation Client II documentation</title>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta name="doc-current-symbol" content="isValidIsbn">
|
<meta name="doc-current-symbol" content="isValidIsbn">
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<nav id="sidepanel">
|
<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">
|
<div class="section_title"><div class="symbol_kind kind_Class_text kind_Class_bg" title="Class">
|
||||||
c
|
c
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>isValidIsbn10 - https://example.com/foo/ba documentation</title>
|
<title>isValidIsbn10 - Programmation Client II documentation</title>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta name="doc-current-symbol" content="isValidIsbn10">
|
<meta name="doc-current-symbol" content="isValidIsbn10">
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<nav id="sidepanel">
|
<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">
|
<div class="section_title"><div class="symbol_kind kind_Class_text kind_Class_bg" title="Class">
|
||||||
c
|
c
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>isValidIsbn13 - https://example.com/foo/ba documentation</title>
|
<title>isValidIsbn13 - Programmation Client II documentation</title>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta name="doc-current-symbol" content="isValidIsbn13">
|
<meta name="doc-current-symbol" content="isValidIsbn13">
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<nav id="sidepanel">
|
<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">
|
<div class="section_title"><div class="symbol_kind kind_Class_text kind_Class_bg" title="Class">
|
||||||
c
|
c
|
||||||
|
|||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>std - https://example.com/foo/ba documentation</title>
|
<title>std - Programmation Client II documentation</title>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta name="doc-current-symbol" content="std">
|
<meta name="doc-current-symbol" content="std">
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<nav id="sidepanel">
|
<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">
|
<div class="section_title"><div class="symbol_kind kind_Class_text kind_Class_bg" title="Class">
|
||||||
c
|
c
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
buildInputs = with pkgs; [deno
|
buildInputs = with pkgs; [deno
|
||||||
python];
|
python];
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
alias build-docs=${pkgs.deno}/bin/deno doc --html --name="Programmation Client II" --output=./docs/ ./modules-examples/mod.js
|
alias build-docs=${pkgs.deno}/bin/deno doc --html --name="Programmation Client II" --output=./docs/ ./modules-examples/mod.js
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,6 +4,15 @@
|
|||||||
* playing are "home" and "away".
|
* playing are "home" and "away".
|
||||||
*/
|
*/
|
||||||
export class HockeyGame{
|
export class HockeyGame{
|
||||||
|
/**
|
||||||
|
* Score of the "home" team
|
||||||
|
*/
|
||||||
|
home = 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Score of the "away" team
|
||||||
|
*/
|
||||||
|
away = 0;
|
||||||
constructor(){
|
constructor(){
|
||||||
this.home = 0
|
this.home = 0
|
||||||
this.away = 0
|
this.away = 0
|
||||||
|
|||||||
Reference in new issue
Block a user