Skip to content
This repository has been archived by the owner on Sep 23, 2019. It is now read-only.

Commit

Permalink
Merge pull request #9 from anissen/patch-1
Browse files Browse the repository at this point in the history
Added Haxe syntax highlighting to readme
  • Loading branch information
nweedon committed Jan 24, 2016
2 parents eb36fd7 + 2d0a141 commit 5829422
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Expand Up @@ -37,7 +37,7 @@ Finally, to use the build registry, include the following on the command line:
```-D using_registry```

Example:
```
```haxe
@:build(angular2haxe.buildplugin.BuildPlugin.app([
testcompile.DisplayComponent,
testcompile.TodoList,
Expand All @@ -54,8 +54,8 @@ class Main

### Creating an application
Creating an application this way allows you to import and bootstrap all of your components with ease. All data transformation (from Haxe metadata to Angular annotations) is done under the hood! (See 'src/Main.hx').
```
import angular2haxe.Application
```haxe
import angular2haxe.Application;
class Main
{
Expand Down Expand Up @@ -89,7 +89,7 @@ Creating components is pretty much the same as it is in ES6/TypeScript, with a f
* template
* templateUrl

```
```haxe
@Component({
selector: 'display',
viewBindings: ["test.FriendsService"]
Expand Down Expand Up @@ -119,7 +119,7 @@ Creating a directive is again similar to the way components and views are create
**Implemented but untested metadata for @Directive annotation:**
* lifecycle (onChange, onDestroy)

```
```haxe
@:expose
class Greeter
{
Expand Down

0 comments on commit 5829422

Please sign in to comment.