Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
@tj tj
24 lines (23 sloc) 0.523 kb
<html>
<head>
<title>Top</title>
<meta charset="utf-8" />
</head>
<body>
<h1>Top</h1>
<p>Scroll down to test out the back to top link</p>
<link rel="stylesheet" type="text/css" href="build/build.css"/>
<script src="./build/build.js"></script>
<script>require('top')()</script>
<ul></ul>
<script>
var ul = document.querySelector('ul');
var n = 300;
while (n--) {
var li = document.createElement('li');
li.textContent = n;
ul.appendChild(li);
}
</script>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.