Welcome aboard! We are happy you are here and wish you good net-raft!
// Script.js
CoffeeScript = require('coffee-script');
CoffeeScript.register();
require('/CoffeeScript.coffee');
// CoffeeScript.coffee
$(document).ready ->
alert "Better stuff will go here"
// html file
<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="https://github.com/jashkenas/coffee-script/raw/master/extras/coffee-script.js"></script>
<script type="text/javascript" src="/Script.js"></script>
</head>
<body>
</body>
</html>
The most helpful COFFEESCRIPT solutions
how to set color using coffeescript ?COFFEESCRIPT Click to see more ... 832 79