官术网_书友最值得收藏!

Chapter 1. Running a CoffeeScript Program

The very first thing we need to do in order to start using CoffeeScript is to install CoffeeScript itself. This will give us access to the CoffeeScript compiler, which we'll use to compile our beautiful CoffeeScript code into JavaScript that can be run in a browser (or other JavaScript environment). By the end of this chapter we'll be completely set up and ready to work.

There are a couple of steps involved in installing CoffeeScript. I know you're impatient to dive right into this great new language—who can blame you? But we'll have to stick it out through a little bit of system configuration. If we do so, we'll be rewarded with a stable CoffeeScript setup that works flawlessly and doesn't take any more of our attention.

In this chapter we will:

  • Install the software that you need to run CoffeeScript code
  • Learn how to use the software to run CoffeeScript, both from the command line and in a browser
  • Use our new abilities to write a simple web application using CoffeeScript
主站蜘蛛池模板: 夏河县| 麻江县| 封开县| 化德县| 会泽县| 仁化县| 西青区| 连平县| 融水| 花莲县| 道真| 延安市| 循化| 黎城县| 久治县| 乐山市| 临清市| 新竹市| 嘉荫县| 南郑县| 丹凤县| 凤城市| 淮南市| 瓦房店市| 绥江县| 新乡县| 北票市| 北安市| 攀枝花市| 洪江市| 化德县| 山西省| 大城县| 五原县| 象州县| 资源县| 四川省| 于都县| 赤水市| 兰州市| 曲水县|