Permalink
Browse files

Set language to readme scripts

  • Loading branch information...
1 parent 10eb237 commit b31f49b85e84933a32fa48cff74c36273273be8c @Zequez committed Jan 6, 2014
Showing with 5 additions and 2 deletions.
  1. +5 −2 README.md
View
7 README.md
@@ -5,7 +5,7 @@ ClassToAngular is a an ***experimental*** tool to use CoffeeScript classes to cr
Instead of doing:
-```
+```coffeescript
angular.module('ClassApp', []).directive 'bananaSplit', ($timeout)->
restrict: 'E'
link: (scope, element, attrs)->
@@ -24,7 +24,7 @@ It may look fine for now, but start to make a bigger app and your link function
Besides, it doesn't look Coffeescripty at all!
Instead you can do:
-```
+```coffeescript
class BananaSplitDirective
@restrict: 'E'
@@ -56,6 +56,9 @@ Does it have a big performance impact? I don't think so! But I haven't tested ye
The thing is, it shouldn't, since most of the extra processing is made on the startup of the application! If someone has a better and faster idea, please say so!
+Live example
+####################
+Want to see an example? Head to the example folder. Want to see it live. [Head to this link](http://jsbin.com/uTebeQoH/14/edit)
ToDo
===============

0 comments on commit b31f49b

Please sign in to comment.