beautify html

This commit is contained in:
Ilya Kantor 2015-03-09 19:02:13 +03:00
parent ecf1478e7e
commit 5342f628da
354 changed files with 13965 additions and 9486 deletions

View file

@ -1,32 +1,34 @@
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<script src="http://code.jquery.com/jquery.min.js"></script>
</head>
<body>
<div id="data"></div>
<div id="data"></div>
<script>
function go() {
$('<div/>')
.html(new Array(1000).join('text'))
.click(function() { })
.appendTo('#data');
<script>
function go() {
document.getElementById('data').innerHTML = '';
}
$('<div/>')
.html(new Array(1000).join('text'))
.click(function() {})
.appendTo('#data');
var interval = setInterval(go, 10)
</script>
document.getElementById('data').innerHTML = '';
Утечка идёт...
}
<input type="button" onclick="clearInterval(interval)" value="stop"/>
var interval = setInterval(go, 10)
</script>
Утечка идёт...
<input type="button" onclick="clearInterval(interval)" value="stop" />
</body>
</html>
</html>