async-polling
Version:
An easy way to run reliable polling without messing with setTimeout.
21 lines (19 loc) • 482 B
HTML
<html lang="en">
<head>
<meta charset="utf-8">
<title>AsyncPolling</title>
<!-- <link rel="stylesheet" href="style.css"> -->
</head>
<body>
<p>
Open the JavaScript console and play with the
<code>
polling
</code>
variable.
</p>
<script src="../dist/async-polling.min.js"></script>
<script src="demo.js"></script>
</body>
</html>