Skip to content

Commit

Permalink
Update minified location.
Browse files Browse the repository at this point in the history
  • Loading branch information
leofah committed Feb 15, 2021
1 parent 0accd04 commit 957fbbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You can either clone the repository are select a released version.
In the released version lrtutor minified and already referenced in ```index.html```.
If you cloned the repo you can either minify lrtutor yourself or serve the 10 javascript files as is.
Tools like [babel](https://babeljs.io/) or [esbuild](https://esbuild.github.io/) can be used to minify the code.
For the release ```esbuild --bundle --minify lrtutor/lrtutor.js --outfile=lrtutor.min.js``` is used.
For the release ```esbuild --bundle --minify lrtutor/lrtutor.js --outfile=lrtutor/lrtutor.min.js``` is used.
Keep in mind, the not compiled javascript contains modules and is therefore only loaded by browsers, if the file is
served.
A local not served version will not work with javascript modules.
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ <h5>Compose a transition with the following (Non-)Terminal:</h5>
<!--<script type="text/javascript" src="mxGraph-4.2.2-js/mxClient.min.js"></script>-->

<script type="module" src="lrtutor/lrtutor.js"></script>
<!--<script type="application/javascript" src="lrtutor.min.js"></script>-->
<!--<script type="application/javascript" src="lrtutor/lrtutor.min.js"></script>-->

<!-- Bootstrap -->
<script type="text/javascript" src="jquery-3.5.1/jquery-3.5.1.min.js"></script>
Expand Down

0 comments on commit 957fbbb

Please sign in to comment.