Namek Dev
a developer's log
NamekDev

CoffeeScript to JavaScript compilation in Sublime Text 2/3

May 19, 2013

Ever wanted to write code in CoffeeScript? It surely is great but you wonder why is this not automated or smaller. Actually there are two options:

  1. include CoffeeScript so it will compile to JavaScript when page is loaded
  2. include pure JavaScript - generated from CoffeScript code.

First option is very easy but may vary on performance. Second is better in performance bad worse in usage. I’ll teach you how to automate that process so it will be both fast on page load and easy too.

→ Continue reading CoffeeScript, javascript