<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Cribbage hand discard analyzer</title>
    <script src="dist/cribbageAnalyst.bundle.js"></script>
</head>
<body>
    <div>
        Card indices: <input id="cardIndices" type="text" autofocus/>
        <button type="button"
                onclick="document.getElementById('parsedCardIndices').innerHTML = cribbageAnalyst.analyzeDiscardOptions(document.getElementById('cardIndices').value).map(function(analyzeDiscardOption) { return '<br>' + analyzeDiscardOption.keptCards.map(function(keptCard) { return keptCard.ordinal; }) + ': ' + analyzeDiscardOption.points; })">Analyze</button>
    </div>
    <div>
        Discard option kept cards and pairs points: <span id="parsedCardIndices"/>
    </div>
</body>
</html>

<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Cribbage hand discard analyzer</title>
    <script src="dist/cribbageAnalyst.bundle.js"></script>
</head>
<body>
    <div>
        Card indices: <input id="cardIndices" type="text" autofocus/>
        <button type="button"
                onclick="document.getElementById('discardOptions').innerHTML = cribbageAnalyst.analyzeDiscardOptions(document.getElementById('cardIndices').value).map(function(analyzeDiscardOption) { return '<br>' + analyzeDiscardOption.keptCards.map(function(keptCard) { return keptCard.ordinal; }) + ': ' + analyzeDiscardOption.points; })">Analyze</button>
    </div>
    <div>
        Discard option kept cards and pairs points: <span id="discardOptions"/>
    </div>
</body>
</html>

Correct analysis destination element id
Correct analysis destination element id

The old 'parsedCardIndices' id was still in use in the HTML as the
place in which discard option analyses were being placed.  That has
now been corrected to the much more appropriate id 'discardOptions'.
