mirror of
https://github.com/remy/inliner.git
synced 2024-09-11 17:25:30 +03:00
chore: merge master
This commit is contained in:
commit
0590ce4a3b
1
test/fixtures/script-local.result.html
vendored
Normal file
1
test/fixtures/script-local.result.html
vendored
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>min script</title> </head> <body> <script>console.log('Hello world');</script> </body> </html>
|
10
test/fixtures/script-local.src.html
vendored
Normal file
10
test/fixtures/script-local.src.html
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>min script</title>
|
||||
</head>
|
||||
<body>
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
</html>
|
8
test/fixtures/script.js
vendored
8
test/fixtures/script.js
vendored
@ -1,7 +1 @@
|
||||
function doit(window) {
|
||||
var foo = 'remy';
|
||||
var bar = window.bar = 'sharp';
|
||||
return foo + bar.split('').reverse().join('');
|
||||
}
|
||||
|
||||
console.log(doit(window));
|
||||
console.log('Hello world');
|
Loading…
Reference in New Issue
Block a user