Skip to content

Commit

Permalink
Adds Command library JS directly
Browse files Browse the repository at this point in the history
Move JS libraries
  • Loading branch information
David Young committed Dec 17, 2021
1 parent b2ed2c1 commit 556ff19
Show file tree
Hide file tree
Showing 9 changed files with 1,025 additions and 435 deletions.
20 changes: 10 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@
<link href="css/jquery.rotaryswitch.css" rel="stylesheet" type="text/css">
<link href="css/icons.css" rel="stylesheet" type="text/css">
<link href="css/settings.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="js/jquery-ui.min.js"></script>
<script type="text/javascript" src="js/roundslider.min.js"></script>
<script type="text/javascript" src="js/jquery.rotaryswitch.js"></script>
<script type="text/javascript" src="js/fnMaster.js"></script>
<script type="text/javascript" src="js/commandController.js"></script>
<script type="text/javascript" src="js/storageController.js"></script>
<script type="text/javascript" src="js/addloco.js"></script>
<script type="text/javascript" src="js/emulator.js"></script>
<script type="text/javascript" src="js/exwebthrottle.js"></script>
<script type="text/javascript" src="js/vendor/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="js/vendor/jquery-ui.min.js"></script>
<script type="text/javascript" src="js/vendor/roundslider.min.js"></script>
<script type="text/javascript" src="js/vendor/jquery.rotaryswitch.js"></script>
<script type="text/javascript" src="js/fnMaster.js"></script>
<script type="text/javascript" src="js/commandController.js"></script>
<script type="text/javascript" src="js/storageController.js"></script>
<script type="text/javascript" src="js/addloco.js"></script>
<script type="text/javascript" src="js/emulator.js"></script>
<script type="text/javascript" src="js/exwebthrottle.js"></script>
<script type="text/javascript" src="js/pwa.js"></script>
<script src="js/ui/functionButtons.js" type="module"></script>

Expand Down
3 changes: 2 additions & 1 deletion js/ui/functionButtons.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {cabCommand} from 'https://cdn.skypack.dev/@cloudthrottle/dcc-ex--commands';
import {cabCommand} from "../vendor/dcc-ex--commands-v0.3.0.js"


function sendCabCommand(fn, value) {
setFunCurrentVal(fn, value);
Expand Down
Loading

0 comments on commit 556ff19

Please sign in to comment.