Update github pages and reference local file in example

This commit is contained in:
mmcwilliams 2018-01-30 11:16:24 -05:00
parent a8751dc755
commit 0de20e6d3e
2 changed files with 7 additions and 1 deletions

View File

@ -75,6 +75,10 @@ input{
<label for="frontIH">Front Inner Height</label>
<input name="frontIH" type="number" value="40" /> mm
</div>
<div>
<label for="fold">Fold Section Width</label>
<input name="fold" type="number" value="5" /> mm
</div>
</div>
<div>
<div>
@ -147,6 +151,7 @@ input{
const frontIH = Math.round($('frontIH').value * MM);
const maxLength = Math.round($('maxLength').value * MM);
const fold = Math.round($('fold').value * MM);
const key = $('key').checked;
const overlap = $('overlap').checked;
@ -172,6 +177,7 @@ input{
frontIW : frontIW,
frontOH : frontOH,
frontIH : frontIH,
fold : fold,
maxLength : maxLength,
parts : parts,

View File

@ -113,7 +113,7 @@ input{
</div>
<img id="img" />
<!--<script src="../src/bellows.js"></script>-->
<script src="https://rawgit.com/sixteenmillimeter/bellows/master/src/bellows.js"></script>
<script src="../src/bellows.js"></script>
<script>
'use script'
const $ = function (select) {