Skip to content

Commit

Permalink
Merge pull request rangle#88 from SethDavenport/update-readme-for-beta
Browse files Browse the repository at this point in the history
Upgrade example app
  • Loading branch information
SethDavenport committed Jan 4, 2016
2 parents 14ca896 + d0e36d0 commit d2e70e3
Show file tree
Hide file tree
Showing 14 changed files with 239 additions and 470 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,18 @@ To execute all unit tests, run `npm test`. It bundles up all files that match `*
As of the latest release, if you would like to use this extension to debug your application, you will need to bind the default `AppViewListener` to `DebugElementViewListener` during the bootstrapping of your app. It should look something like this:

```
import { AppViewListener } from 'angular2/src/core/linker/view_listener';
import { DebugElementViewListener } from 'angular2/platform/common_dom';
import { bind } from 'angular2/core';
bootstrap(App, [
bind(AppViewListener).toClass(DebugElementViewListener),
...
<other dependencies>
...
]);
```

You can also take a look at [how it's done in the example app](./example-apps/todo-mvc-example/source/app.ts#L10). This issue will be resolved at official release.

## Future Plans
Expand Down
4 changes: 2 additions & 2 deletions example-apps/todo-mvc-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ Use this application to get familiar with Batarangle

## Building and Serving

1. Build the application by running `npm install` command.
2. Serve the application with this folder as the base, i.e. with `http-server` command.
1. Build the application by running the `npm install` command.
2. Serve the application by running the `npm start` command.
326 changes: 0 additions & 326 deletions example-apps/todo-mvc-example/config.js

This file was deleted.

21 changes: 0 additions & 21 deletions example-apps/todo-mvc-example/index.html

This file was deleted.

Loading

0 comments on commit d2e70e3

Please sign in to comment.