bootstraponline / async_await_typescript

:trident: ES7 async/await example using TypeScript & node v6 with Visual Studio Code 1.0
12 stars 3 forks source link

Include a index.html #4

Closed panuganti closed 8 years ago

panuganti commented 8 years ago

You need to include an index.html so that anyone who is trying to use your repo can quickly check the final js file generated is working or not

bootstraponline commented 8 years ago

The generated code doesn't run in browsers. It's intended only for the node v6 target.

I'm sure there's a way of making everything work in browsers but that's beyond the scope of this example.

<html>
<head>
<script src="lib/await.js"></script>
</head>
<body>
</body>    
</html>