Created
April 22, 2015 17:12
-
-
Save zz85/6166732ccc87fc3bbb27 to your computer and use it in GitHub Desktop.
boilerplate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html lang="en"> | |
<head> | |
<title>A Boid Ballet</title> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" type="text/css" href="main.css" /> | |
</head> | |
<body> | |
<script> | |
loadScript('main.js'); | |
function loadScript(script) { | |
var js = document.createElement("script"); | |
js.type = 'text/javascript'; | |
js.src = script; | |
document.body.appendChild(js); | |
} | |
</script> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log('hello world'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment