Skip to content

Commit

Permalink
support webserial (requires chrome://flags/#enable-experimental-web-p…
Browse files Browse the repository at this point in the history
…latform-features )
  • Loading branch information
cho45 committed Sep 16, 2019
1 parent 55404b0 commit d74c856
Show file tree
Hide file tree
Showing 4 changed files with 292 additions and 164 deletions.
8 changes: 6 additions & 2 deletions index.html
Expand Up @@ -21,8 +21,8 @@
<script src="./node_modules/vue/dist/vue.js"></script>
<script src="./node_modules/vue-material/dist/vue-material.min.js"></script>
<script src="./node_modules/strftime/strftime-min.js"></script>
<script src="nanovna.js"></script>
<script src="script.js" type="module"></script>
<script src="nanovna.js" crossorigin="use-credentials"></script>
<script src="script.js" type="module" crossorigin="use-credentials"></script>
<style>
.md-app {
height: 100vh;
Expand Down Expand Up @@ -179,6 +179,10 @@ <h3 class="md-title" style="flex: 1">NanoVNA</h3>
<md-icon>info</md-icon>
<span class="md-list-item-text">Version</span>
</md-list-item>
<md-list-item>
<md-icon>info</md-icon>
<span class="md-list-item-text">{{ serialMode ? "Web Serial" : "Web USB" }}</span>
</md-list-item>
</md-list>
</md-app-drawer>

Expand Down

0 comments on commit d74c856

Please sign in to comment.