views/index.erb in unused_css-0.0.1 vs views/index.erb in unused_css-0.1.0
- old
+ new
@@ -2,11 +2,22 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Unused CSS</title>
<link rel="stylesheet" href="/stylesheets/style.css"/>
+ <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.0.min.js"></script>
</head>
<body>
<div id="heading">Very nice</div>
<div class="old-error">No such style for old-error in style.css</div>
+
+ <script type="text/javascript">
+ $(function(){
+ setTimeout(function(){
+ $.get('/ajax-content', function(data){
+ $("body").append(data);
+ });
+ }, 1000);
+ });
+ </script>
</body>
</html>
\ No newline at end of file