Skip to content

Commit 236e594

Browse files
committed
Add test for tidying head styles and scripts
1 parent adfb49f commit 236e594

8 files changed

Lines changed: 36 additions & 0 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
body {
2+
background: red;
3+
}
4+
5+
a {
6+
background: green;
7+
}
8+
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
(function() {console.log("Hello!")
2+
})();
3+
(function() {console.log("World!")
4+
})();
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<head><link rel="stylesheet" href="/assets/css/57f0a1f755738b447551c5157f99e209.css"/ ><script src="/assets/js/fccdb0648cefb6aba5d5c3d6b1db1fbd.js" async defer></script></head>
2+
3+
index.html
4+
5+
6+
7+
8+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<head><!-- Empty head tag --></head>
2+
3+
index.html
4+
5+
<link rel="stylesheet" href="./styles_1.css">
6+
<script src="./script_1.js"></script>
7+
<link rel="stylesheet" href="./styles_2.css">
8+
<script src="./script_2.js"></script>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
console.log("Hello!")
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
console.log("World!")
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
body {
2+
background: red;
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
a {
2+
background: green;
3+
}

0 commit comments

Comments
Β (0)