[#13, #23] Add support for alternate recipes

* Added support for determining all the possibly ways to create a given item
* Added full unit test support
This commit is contained in:
Andrew Miner
2013-09-02 12:24:08 -07:00
parent 813f7a0c2e
commit f89de8abd8
11 changed files with 4092 additions and 367 deletions
+6 -6
View File
@@ -17,14 +17,14 @@
</div> <!-- #header -->
<div id="border_stone" class="grid_12 alpha omega">&nbsp;</div>
<div id="recipebooks" class="grid_12 alpha omega">
<div id="recipe_books" class="grid_12 alpha omega">
<h1><img src="images/bookshelf.png"> Recipe Books</h1>
<table id="recipebook_table" cellpadding="0" cellspacing="0">
<table id="recipe_book_table" cellpadding="0" cellspacing="0">
<tr>
<td>&nbsp;</td>
<td>
<input id="recipebook_url" placeholder="enter a URL to load another recipe book..."></input>
<button id="recipebook_load_button">Load</button>
<input id="recipe_book_url" placeholder="enter a URL to load another recipe book..."></input>
<button id="recipe_book_load_button">Load</button>
</td>
</tr>
</table>
@@ -101,8 +101,8 @@
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<script src="purl.js"></script>
<script src="crafting.js"></script>
<script src="script/purl.js"></script>
<script src="script/crafting.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),