info343/minilabs/10/solutions.php

<script src="<?= $BASENAME ?>/lib/global/js/prettify/lang-js.js" type="text/javascript"></script>

<p>Below is one possible solution to this problem.</p>

<header>
   <h3>Exercise 1: Inject HTML File</h3>
   <div class="workinglink"><a href="solution/minilab10-ex1.html">working example</a></div>
</header>
<pre class="prettyprint lang-js linenums"><?= escape(load(dirname(__FILE__) . "/solution/minilab10-ex1.js")) ?></pre>

<header>
   <h3>Exercise 2: Process a Plain Text File</h3>
   <div class="workinglink"><a href="solution/minilab10-ex2.html">working example</a></div>
</header>
<pre class="prettyprint lang-js linenums"><?= escape(load(dirname(__FILE__) . "/solution/minilab10-ex2.js")) ?></pre>