302 - IIFE Modules Imported
by steen_hansen
HTML
<!DOCTYPE html><meta charset="utf-8" />
<title>302 IIFE Modules Imported</title>
<div id='js-div' style="width:57%; " >
<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:43%" >
<div class='an-explantion'>302 - IIFE Modules Imported</div>
<div id='explanation-text'>
TypeCzech's general example of an author where:
<ul>
<li class='floating_li'><b>First</b> controls an author's first name</li>
<li class='floating_li'>Safely removable supporting TypeCzech test code begins with /**/</li>
<li class='floating_li'><b>Last</b> handles an author's first and last name</li>
<li class='floating_li'><b>Full</b> deals with an author's salutation, first, and last name</li>
<br> <br><br>
</ul>
<br><br><br>
IIFEs are used for inheritance:
<ul>
<li>When TypeCzech is turned off, only production code is imported:
<ul>
<li class='floating_li'>First.js</li>
<li class='floating_li'>Last.js</li>
<li class='floating_li'>Full.js</li>
</ul>
<br><br>
</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 IIFE 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>
...