Skip to content

Instantly share code, notes, and snippets.

@kucherenko
Created August 8, 2013 05:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kucherenko/6181658 to your computer and use it in GitHub Desktop.
Save kucherenko/6181658 to your computer and use it in GitHub Desktop.
HTML file with CoffeeScript support
<!DOCTYPE html>
<html>
<head>
<title>CoffeeScript Examples</title>
<script src="http://coffeescript.org/extras/coffee-script.js" type="text/javascript"></script>
<script type="text/coffeescript">
class A
constructor: ->
alert "Hello CoffeeScript"
a = new A
</script>
<script src="src/coffee-example.coffee" type="text/coffeescript"></script>
</head>
<body>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment