A PageRank simulation (simplified), using CoffeeScript. See it in action here.
The ---
lines at the beginning of each CoffeeScript file are not CoffeeScript code, it's a code to indicate to the server (Jekyll) that the file must be served. To launch Jekyll, install it and type jekyll serve --watch
.
If you don't want to use Jekyll to display the web page, you can simply launch the index.html file with your browser, but you need to remove the ---
at the beginning of each CoffeeScript file, and then compile them with coffee --compile *.coffee
to generate the JavaScript files.