103 - Extended Classes Production
by steen_hansen
HTML
<!DOCTYPE html><meta charset="utf-8" />
<title>103 Extended Classes Production</title>
<div id='js-div' style="width:54%; " class='code-scroll'>
<a href='https://github.com/steenhansen/type-czech' target="_blank" class='git-hub'>GitHub Package</a>
<div id='js-code'>the javascript</div>
</div>
<div id="the-explanation" style="width:46%" >
<div class='an-explantion'>103 - Extended Classes Production</div>
<div id='explanation-text'>
<br>
<br>
TypeCzech's general example of an author where:
<ul>
<li><b>First</b> controls an author's first name</li>
<li><b>Last</b> handles an author's first and last name</li>
<li><b>Full</b> deals with an author's salutation, first, and last name</li>
<li>Safely removable supporting TypeCzech test code begins with /**/</li>
</ul>
Extended classes are used for inheritance:
<ul>
<li>When TypeCzech is turned off no JavaScript code is imported</li>
<li>With TypeCzech turned on, the supporting test code is imported:
<ul>
<li class='floating_li'>TypeCzech.js</li>
<li class='floating_li'>TypeCzech_First.js</li>
<li class='floating_li'>TypeCzech_Last</li>
<li class='floating_li'>TypeCzech_Full.js</li>
<br> <br><br>
</ul>
</li>
<li>Production class declarations <b>must</b> interleave with TypeCzech calls
to have the PRE and POST checking functions be correctly linked before use </li>
</ul>
</div>
<div id="console-log" >
<div class='a-title'>Console Output</div>
<div id='log-text'></div>
<br>
</div>
<br><br>
<!-- ----------------TYPE 2-------------------------- -->
<script src="https://cdn.jsdelivr.net/gh/steenhansen/type-czech@latest/web-resources/consolelog.js"></script>
<script...