chore: merge master

This commit is contained in:
Remy Sharp 2015-07-28 14:43:40 +01:00
commit 0590ce4a3b
3 changed files with 12 additions and 7 deletions

View 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
View 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>

View File

@ -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');