From 2ddfdfe99e8097441e373a05f68311c43cd6b22b Mon Sep 17 00:00:00 2001 From: Projjol Banerji Date: Thu, 12 Feb 2015 22:35:21 +0530 Subject: [PATCH 1/6] Update 01_introduction.html Would probably be better if there were links to the next chapter. --- coffeescript/01_introduction.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coffeescript/01_introduction.html b/coffeescript/01_introduction.html index a399994..681612a 100644 --- a/coffeescript/01_introduction.html +++ b/coffeescript/01_introduction.html @@ -74,8 +74,8 @@

Initial setup

As you can see above, the default extension of CoffeeScript files is .coffee. Amongst other things, this will allow text editors like TextMate to work out which language the file contains, giving it the appropriate syntax highlighting. By default, TextMate doesn't include support for CoffeeScript, but you can easily install the bundle to do so.

If all this compilation seems like a bit of an inconvenience and bother, that's because it is. We'll be getting onto ways to solve this by automatically compiling CoffeeScript files, but first lets take a look at the language's syntax.

- +
Chapter 2 (CoffeeScript Syntax) »
- \ No newline at end of file + From b02da43f9c54d3de6c8a065704af6f0bf01a5e63 Mon Sep 17 00:00:00 2001 From: Projjol Banerji Date: Thu, 12 Feb 2015 22:52:47 +0530 Subject: [PATCH 2/6] Update 02_syntax.html --- coffeescript/02_syntax.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coffeescript/02_syntax.html b/coffeescript/02_syntax.html index 7d4226d..a90b352 100644 --- a/coffeescript/02_syntax.html +++ b/coffeescript/02_syntax.html @@ -410,8 +410,8 @@

Aliases & the Existential Operator

blackKnight.getLegs().kick?()
 
- + ` - \ No newline at end of file + From 411e534b5c4a743abba5ac024ff8092321f80b32 Mon Sep 17 00:00:00 2001 From: Projjol Banerji Date: Thu, 12 Feb 2015 22:54:58 +0530 Subject: [PATCH 3/6] Update 03_classes.html --- coffeescript/03_classes.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coffeescript/03_classes.html b/coffeescript/03_classes.html index d3e7bbf..3aa0f84 100644 --- a/coffeescript/03_classes.html +++ b/coffeescript/03_classes.html @@ -246,8 +246,8 @@

Extending classes

Super simple and elegant!

- + - \ No newline at end of file + From 761df925e5dc1eee07489bbbec6a48fe1ed3c8de Mon Sep 17 00:00:00 2001 From: Projjol Banerji Date: Thu, 12 Feb 2015 22:56:46 +0530 Subject: [PATCH 4/6] Update 04_idioms.html --- coffeescript/04_idioms.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coffeescript/04_idioms.html b/coffeescript/04_idioms.html index 9d9dd3d..f522d59 100644 --- a/coffeescript/04_idioms.html +++ b/coffeescript/04_idioms.html @@ -279,8 +279,8 @@

Private variables

In other words, classToType is completely private, and can never again be referenced outside the executing anonymous function. This pattern is a great way of encapsulating scope and hiding variables.

- + - \ No newline at end of file + From 70cdc6d9c6b55d2cba6f51e1c07be1739199495a Mon Sep 17 00:00:00 2001 From: Projjol Banerji Date: Thu, 12 Feb 2015 22:58:11 +0530 Subject: [PATCH 5/6] Update 05_compiling.html --- coffeescript/05_compiling.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coffeescript/05_compiling.html b/coffeescript/05_compiling.html index d1206b7..93c8e9d 100644 --- a/coffeescript/05_compiling.html +++ b/coffeescript/05_compiling.html @@ -126,8 +126,8 @@

Server side support

Django also has support for CoffeeScript through special template tags. It works with both inline code and external files.

Both Ruby and Python pipe out to Node and the CoffeeScript lib behind the scenes when compiling CoffeeScript, so you'll need to have those installed during development. If you're using Node directly as a backend for your site, CoffeeScript integration is even simpler and you can use it for both the backend and frontend code. We're going to talk more about this in the next chapter, using Stitch to serve all our client-side CoffeeScript.

- + - \ No newline at end of file + From d4532cdaa36b5af3ba3c9bcc944d9e98ff5a28c4 Mon Sep 17 00:00:00 2001 From: Projjol Banerji Date: Thu, 12 Feb 2015 22:59:15 +0530 Subject: [PATCH 6/6] Update 06_applications.html --- coffeescript/06_applications.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coffeescript/06_applications.html b/coffeescript/06_applications.html index 5e25c85..8c5bbda 100644 --- a/coffeescript/06_applications.html +++ b/coffeescript/06_applications.html @@ -290,8 +290,8 @@

Additional libraries

As for serving up application, Hem is a great choice, supporting both CommonJS and NPM modules and integrating seamlessly with the CoffeeScript MVC framework Spine. node-browsify is another similar project. Or if you want to go lower level with express integration, there's Trevor Burnham's connect-assets

You can find a full list of CoffeeScript web framework plugins, on the project's wiki.

- + - \ No newline at end of file +