Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/yorkie-team/yorkie-js-sdk i…
Browse files Browse the repository at this point in the history
…nto peritext
  • Loading branch information
chacha912 committed Sep 18, 2023
2 parents 3f4744d + 52ffdbd commit 7ab0076
Show file tree
Hide file tree
Showing 12 changed files with 1,689 additions and 190 deletions.
13 changes: 4 additions & 9 deletions public/counter.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,19 @@
</head>
<body>
<div>
<div>status: <span id="network-status"></span></div>
<div class="wrap">
<div id="network-status"></div>
<div id="online-clients"></div>
<div class="counter-wrap">
<span id="counter"></span>
<button id="increaseButton">+</button>
<button id="decreaseButton">-</button>
</div>
<div>Online clients:</div>
<pre
style="white-space: pre-wrap"
><code id="online-clients-holder"></code></pre>
</div>
<script src="./yorkie.js"></script>
<script src="./util.js"></script>
<script>
const statusHolder = document.getElementById('network-status');
const onlineClientsHolder = document.getElementById(
'online-clients-holder',
);
const onlineClientsHolder = document.getElementById('online-clients');
const counter = document.getElementById('counter');
const counterIncreaseButton = document.getElementById('increaseButton');
const counterDecreaseButton = document.getElementById('decreaseButton');
Expand Down
Loading

0 comments on commit 7ab0076

Please sign in to comment.