Skip to content

Instantly share code, notes, and snippets.

@ondrej-kvasnovsky
Created March 4, 2018 00:09
Show Gist options
  • Save ondrej-kvasnovsky/0fb9e466423611d508a1f9532f352693 to your computer and use it in GitHub Desktop.
Save ondrej-kvasnovsky/0fb9e466423611d508a1f9532f352693 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Vert.x with SockJS</title>
<script src="//cdn.jsdelivr.net/sockjs/0.3.4/sockjs.min.js"></script>
<script src="js/vertx-eventbus.js"></script>
<script src="js/app.js"></script>
</head>
<body onload="init();">
<h3>Counter</h3>
Current counter:
<span id="current_value"></span>
<div>
<input type="button" onclick="increment();" value="Increment">
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment