| Index: third_party/pkg/angular/example/README.todo.md
|
| diff --git a/third_party/pkg/angular/demo/todo/README.md b/third_party/pkg/angular/example/README.todo.md
|
| similarity index 71%
|
| rename from third_party/pkg/angular/demo/todo/README.md
|
| rename to third_party/pkg/angular/example/README.todo.md
|
| index dac21f88590497a186b68eaf8af544c3b4c4af7a..e2706fcce99481fe39194cc235c00c894e0faff2 100644
|
| --- a/third_party/pkg/angular/demo/todo/README.md
|
| +++ b/third_party/pkg/angular/example/README.todo.md
|
| @@ -9,13 +9,14 @@ Getting up and running
|
|
|
| To run this demo, first clone the entire Angular.dart repository.
|
|
|
| -Then, run ``pub serve`` in this directory:
|
| +Then, run `pub serve` in this directory:
|
|
|
| ```
|
| -$ cd demo/todo; pub serve
|
| +$ cd demo
|
| +$ pub serve
|
| ```
|
|
|
| -Finally, open http://localhost:8080/index.html.
|
| +Finally, open `http://localhost:8080/todo.html.`
|
|
|
| The server is optional
|
| ----------------------
|
| @@ -25,18 +26,19 @@ not need to run it. It is here to demonstrate the HTTP record /
|
| playback feature, snapshotting and dart2js.
|
|
|
| ```
|
| -$ cd demo/todo; node webserver.js
|
| +$ cd example
|
| +$ node webserver.js
|
| Web server is listening on port 3000
|
| ```
|
|
|
| -To use dart2js, open http://localhost:3000/index.html in a non-Dartium web
|
| +To use dart2js, open http://localhost:3000/todo.html in a non-Dartium web
|
| browser.
|
|
|
| -To use snapshotting, open http://localhost:3000/snapshot/index.html, which
|
| +To use snapshotting, open http://localhost:3000/snapshot/todo.html, which
|
| will serve a zip file with all the files used in the application.
|
|
|
| -To use HTTP record / playback, first open http://localhost:3000/index.html?record.
|
| -Then, without restarting the server, open http://localhost:3000/index.html?playback.
|
| +To use HTTP record / playback, first open http://localhost:3000/todo.html?record.
|
| +Then, without restarting the server, open http://localhost:3000/todo.html?playback.
|
|
|
| For more awesomeness, use HTTP playback together with snapshotting to isolate your
|
| -Dart application from the server. http://localhost:3000/snapshot/index.html?playback
|
| +Dart application from the server. http://localhost:3000/snapshot/todo.html?playback
|
|
|