diff --git a/public/docs/dart/latest/guide/displaying-data.jade b/public/docs/dart/latest/guide/displaying-data.jade index 8042ed64f8..3249bfe41b 100644 --- a/public/docs/dart/latest/guide/displaying-data.jade +++ b/public/docs/dart/latest/guide/displaying-data.jade @@ -48,7 +48,7 @@ description: Dart version of Angular 2 example, Displaying Data version: 0.0.1 dependencies: - angular2: 2.0.0-alpha.26 + angular2: 2.0.0-alpha.28 browser: ^0.10.0 transformers: - angular2: @@ -227,11 +227,11 @@ p. Make a FriendsService class to implement a model containing a list of friends. - Put this in a new file under web/ + Put this in a new file under lib/ named friends_service.dart. Here's what the class looks like: code-example(language="dart" format="linenums"). - // web/friends_service.dart + // lib/friends_service.dart library displaying_data.friends_service; import 'package:angular2/angular2.dart'; @@ -248,7 +248,7 @@ Then set friendNames to the names provided by the service. code-example(language="dart"). - // In web/show_properties.dart + // In lib/show_properties.dart import 'package:displaying_data/friends_service.dart'; ... class DisplayComponent { @@ -359,7 +359,7 @@ description: Displaying Data example version: 0.0.1 dependencies: - angular2: 2.0.0-alpha.26 + angular2: 2.0.0-alpha.28 browser: ^0.10.0 transformers: - angular2: diff --git a/public/docs/dart/latest/guide/setup.jade b/public/docs/dart/latest/guide/setup.jade index a42907464e..bb5d91003c 100644 --- a/public/docs/dart/latest/guide/setup.jade +++ b/public/docs/dart/latest/guide/setup.jade @@ -30,7 +30,7 @@ description: Getting Started example version: 0.0.1 dependencies: - angular2: 2.0.0-alpha.26 + angular2: 2.0.0-alpha.28 browser: ^0.10.0 transformers: - angular2: diff --git a/public/docs/dart/latest/guide/user-input.jade b/public/docs/dart/latest/guide/user-input.jade index d5ef2ec582..b3e35f443d 100644 --- a/public/docs/dart/latest/guide/user-input.jade +++ b/public/docs/dart/latest/guide/user-input.jade @@ -52,6 +52,7 @@ 'Breathe', 'Learn Angular' ]; + addTodo(String todo) { todos.add(todo); } @@ -196,7 +197,7 @@ description: User Input example version: 0.0.1 dependencies: - angular2: 2.0.0-alpha.26 + angular2: 2.0.0-alpha.28 browser: ^0.10.0 transformers: - angular2: diff --git a/public/docs/dart/latest/quickstart.jade b/public/docs/dart/latest/quickstart.jade index 0d2a6ca513..93800b3e53 100644 --- a/public/docs/dart/latest/quickstart.jade +++ b/public/docs/dart/latest/quickstart.jade @@ -38,13 +38,13 @@ p. specify the angular2 and browser packages as dependencies, as well as the angular2 transformer. Angular 2 is changing rapidly, so provide an exact version: - 2.0.0-alpha.26. + 2.0.0-alpha.28. code-example(language="yaml" format="linenums"). name: hello_world version: 0.0.1 dependencies: - angular2: 2.0.0-alpha.26 + angular2: 2.0.0-alpha.28 browser: ^0.10.0 transformers: - angular2: @@ -248,13 +248,13 @@ p. Loading source assets... Loading angular2 transformers... INFO: Formatter is being overwritten. - Building hello_world... (3.8s) + Building hello_world... (4.2s) [Info from Dart2JS]: Compiling hello_world|web/main.dart... [Info from Dart2JS]: - Took 0:00:15.612746 to compile hello_world|web/main.dart. - Built 63 files to "build". - //- REGENERATE THIS OUTPUT - or delete it? - when updating from 2.0.0-alpha.26 + Took 0:00:17.408082 to compile hello_world|web/main.dart. + Built 65 files to "build". + //- REGENERATE THIS OUTPUT - or delete it? - when updating from 2.0.0-alpha.28 p. The generated JavaScript appears, along with supporting files, @@ -273,7 +273,7 @@ p. name: hello_world version: 0.0.1 dependencies: - angular2: 2.0.0-alpha.26 + angular2: 2.0.0-alpha.28 browser: ^0.10.0 transformers: - angular2: