From 185f9a70493de8b850473e7049dde48ce9b11f6d Mon Sep 17 00:00:00 2001 From: Kathy Walrath Date: Fri, 25 Mar 2016 16:03:53 -0700 Subject: [PATCH] docs(dart): update to b12 Also update dart_to_js_script_rewriter dependency to ^1.0.1, and change most angular2.dart imports to be core.dart instead. The pipes example broke without the angular2.dart import, so I let it be. The server-communication sample has never worked for me, so I changed it but might have broken it further. closes #1007 --- .../_examples/architecture/dart/lib/backend_service.dart | 2 +- .../architecture/dart/lib/hero_detail_component.dart | 2 +- .../architecture/dart/lib/hero_list_component.dart | 2 +- .../docs/_examples/architecture/dart/lib/hero_service.dart | 2 +- .../_examples/architecture/dart/lib/logger_service.dart | 2 +- public/docs/_examples/architecture/dart/pubspec.yaml | 4 ++-- .../attribute-directives/dart/lib/app_component.dart | 2 +- .../attribute-directives/dart/lib/highlight_directive.dart | 2 +- .../dart/lib/highlight_directive_1.dart | 2 +- .../dart/lib/highlight_directive_2.dart | 2 +- .../docs/_examples/attribute-directives/dart/pubspec.yaml | 4 ++-- .../docs/_examples/dependency-injection/dart/pubspec.yaml | 2 +- .../_examples/displaying-data/dart/lib/app_component.dart | 2 +- .../_examples/displaying-data/dart/lib/app_component_1.dart | 2 +- .../_examples/displaying-data/dart/lib/app_component_2.dart | 2 +- .../_examples/displaying-data/dart/lib/app_component_3.dart | 2 +- public/docs/_examples/displaying-data/dart/pubspec.yaml | 4 ++-- .../docs/_examples/forms/dart/lib/hero_form_component.dart | 2 +- .../forms/dart/lib/hero_form_component_initial.dart | 2 +- public/docs/_examples/forms/dart/pubspec.yaml | 4 ++-- .../hierarchical-dependency-injection/dart/lib/hero.dart | 2 +- .../dart/lib/hero_card_component.dart | 2 +- .../dart/lib/hero_editor_component.dart | 2 +- .../dart/lib/heroes_list_component.dart | 2 +- .../dart/lib/heroes_service.dart | 2 +- .../dart/lib/restore_service.dart | 2 +- .../hierarchical-dependency-injection/dart/pubspec.yaml | 4 ++-- .../lifecycle-hooks/dart/lib/after_content_parent.dart | 2 +- .../lifecycle-hooks/dart/lib/after_view_component.dart | 2 +- .../_examples/lifecycle-hooks/dart/lib/app_component.dart | 2 +- .../_examples/lifecycle-hooks/dart/lib/child_component.dart | 2 +- .../lifecycle-hooks/dart/lib/counter_component.dart | 2 +- .../_examples/lifecycle-hooks/dart/lib/logger_service.dart | 2 +- .../lifecycle-hooks/dart/lib/on_changes_component.dart | 2 +- .../lifecycle-hooks/dart/lib/peek_a_boo_component.dart | 2 +- .../dart/lib/peek_a_boo_parent_component.dart | 2 +- .../_examples/lifecycle-hooks/dart/lib/spy_component.dart | 2 +- .../_examples/lifecycle-hooks/dart/lib/spy_directive.dart | 2 +- public/docs/_examples/lifecycle-hooks/dart/pubspec.yaml | 4 ++-- public/docs/_examples/pipes/dart/pubspec.yaml | 4 ++-- public/docs/_examples/quickstart/dart/ex1/pubspec.yaml | 2 +- public/docs/_examples/quickstart/dart/ex1/web/main.dart | 2 +- public/docs/_examples/quickstart/dart/ex2/pubspec.yaml | 4 ++-- public/docs/_examples/quickstart/dart/ex2/web/main.dart | 2 +- .../dart/lib/toh/hero_list_component.dart | 4 +++- .../server-communication/dart/lib/toh/hero_service.dart | 2 +- .../server-communication/dart/lib/toh/toh_component.dart | 2 +- .../server-communication/dart/lib/wiki/wiki_component.dart | 4 +++- .../dart/lib/wiki/wiki_smart_component.dart | 2 +- .../dart/lib/wiki/wikipedia_service.dart | 3 ++- .../docs/_examples/server-communication/dart/pubspec.yaml | 4 ++-- .../dart/lib/heavy_loader_component.dart | 2 +- .../dart/lib/structural_directives_component.dart | 2 +- .../structural-directives/dart/lib/unless_directive.dart | 2 +- .../docs/_examples/structural-directives/dart/pubspec.yaml | 4 ++-- .../_examples/template-syntax/dart/lib/app_component.dart | 2 +- .../template-syntax/dart/lib/hero_detail_component.dart | 2 +- .../template-syntax/dart/lib/my_click_directive.dart | 2 +- public/docs/_examples/template-syntax/dart/pubspec.yaml | 6 ++---- public/docs/_examples/toh-5/dart/lib/app_component.dart | 2 +- public/docs/_examples/toh-5/dart/lib/app_component_1.dart | 2 +- public/docs/_examples/toh-5/dart/lib/app_component_2.dart | 2 +- .../docs/_examples/toh-5/dart/lib/dashboard_component.dart | 2 +- .../_examples/toh-5/dart/lib/dashboard_component_1.dart | 2 +- .../_examples/toh-5/dart/lib/dashboard_component_2.dart | 2 +- .../_examples/toh-5/dart/lib/hero_detail_component.dart | 2 +- public/docs/_examples/toh-5/dart/lib/hero_service.dart | 2 +- public/docs/_examples/toh-5/dart/lib/heroes_component.dart | 2 +- public/docs/_examples/toh-5/dart/pubspec.yaml | 6 ++---- .../docs/_examples/user-input/dart/lib/app_component.dart | 2 +- .../_examples/user-input/dart/lib/click_me_component.dart | 2 +- .../_examples/user-input/dart/lib/click_me_component_2.dart | 2 +- .../_examples/user-input/dart/lib/keyup_components.dart | 2 +- .../user-input/dart/lib/little_tour_component.dart | 2 +- .../_examples/user-input/dart/lib/loop_back_component.dart | 2 +- public/docs/_examples/user-input/dart/pubspec.yaml | 4 ++-- public/docs/dart/latest/guide/displaying-data.jade | 2 +- public/docs/dart/latest/quickstart.jade | 4 ++-- 78 files changed, 97 insertions(+), 96 deletions(-) diff --git a/public/docs/_examples/architecture/dart/lib/backend_service.dart b/public/docs/_examples/architecture/dart/lib/backend_service.dart index ed425dfc82..d0f6886dbf 100644 --- a/public/docs/_examples/architecture/dart/lib/backend_service.dart +++ b/public/docs/_examples/architecture/dart/lib/backend_service.dart @@ -1,5 +1,5 @@ // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; import 'hero.dart'; import 'logger_service.dart'; diff --git a/public/docs/_examples/architecture/dart/lib/hero_detail_component.dart b/public/docs/_examples/architecture/dart/lib/hero_detail_component.dart index d89b4e44a8..94c26abbd0 100644 --- a/public/docs/_examples/architecture/dart/lib/hero_detail_component.dart +++ b/public/docs/_examples/architecture/dart/lib/hero_detail_component.dart @@ -1,5 +1,5 @@ // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; import 'hero.dart'; diff --git a/public/docs/_examples/architecture/dart/lib/hero_list_component.dart b/public/docs/_examples/architecture/dart/lib/hero_list_component.dart index 7027a01bd8..ba2b75de70 100644 --- a/public/docs/_examples/architecture/dart/lib/hero_list_component.dart +++ b/public/docs/_examples/architecture/dart/lib/hero_list_component.dart @@ -1,5 +1,5 @@ // #docplaster -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; import 'hero.dart'; import 'hero_detail_component.dart'; diff --git a/public/docs/_examples/architecture/dart/lib/hero_service.dart b/public/docs/_examples/architecture/dart/lib/hero_service.dart index e15db5f1cd..794e79927e 100644 --- a/public/docs/_examples/architecture/dart/lib/hero_service.dart +++ b/public/docs/_examples/architecture/dart/lib/hero_service.dart @@ -1,4 +1,4 @@ -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; import 'backend_service.dart'; import 'hero.dart'; diff --git a/public/docs/_examples/architecture/dart/lib/logger_service.dart b/public/docs/_examples/architecture/dart/lib/logger_service.dart index e1815da9a8..2d6d1c4f75 100644 --- a/public/docs/_examples/architecture/dart/lib/logger_service.dart +++ b/public/docs/_examples/architecture/dart/lib/logger_service.dart @@ -1,7 +1,7 @@ // #docregion import 'dart:html'; -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; /// A service for logging messages of various types. /// diff --git a/public/docs/_examples/architecture/dart/pubspec.yaml b/public/docs/_examples/architecture/dart/pubspec.yaml index 9466bdac16..6e6d64d67d 100644 --- a/public/docs/_examples/architecture/dart/pubspec.yaml +++ b/public/docs/_examples/architecture/dart/pubspec.yaml @@ -5,9 +5,9 @@ version: 0.0.1 environment: sdk: '>=1.13.0 <2.0.0' dependencies: - angular2: 2.0.0-beta.11 + angular2: 2.0.0-beta.12 browser: ^0.10.0 - dart_to_js_script_rewriter: ^0.1.0 + dart_to_js_script_rewriter: ^1.0.1 transformers: - angular2: platform_directives: 'package:angular2/common.dart#CORE_DIRECTIVES' diff --git a/public/docs/_examples/attribute-directives/dart/lib/app_component.dart b/public/docs/_examples/attribute-directives/dart/lib/app_component.dart index 0d3ad7595b..2494fc3fd7 100644 --- a/public/docs/_examples/attribute-directives/dart/lib/app_component.dart +++ b/public/docs/_examples/attribute-directives/dart/lib/app_component.dart @@ -1,5 +1,5 @@ // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; import 'highlight_directive.dart'; diff --git a/public/docs/_examples/attribute-directives/dart/lib/highlight_directive.dart b/public/docs/_examples/attribute-directives/dart/lib/highlight_directive.dart index 0fb5832160..a6c0856cc4 100644 --- a/public/docs/_examples/attribute-directives/dart/lib/highlight_directive.dart +++ b/public/docs/_examples/attribute-directives/dart/lib/highlight_directive.dart @@ -1,6 +1,6 @@ // #docplaster // #docregion full -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; @Directive(selector: '[my-highlight]', host: const { '(mouseenter)': 'onMouseEnter()', diff --git a/public/docs/_examples/attribute-directives/dart/lib/highlight_directive_1.dart b/public/docs/_examples/attribute-directives/dart/lib/highlight_directive_1.dart index 4fef486203..3b79e66a3b 100644 --- a/public/docs/_examples/attribute-directives/dart/lib/highlight_directive_1.dart +++ b/public/docs/_examples/attribute-directives/dart/lib/highlight_directive_1.dart @@ -1,7 +1,7 @@ // #docregion library attribute_directives.highlight_directive; -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; @Directive(selector: '[my-highlight]') class Highlight { diff --git a/public/docs/_examples/attribute-directives/dart/lib/highlight_directive_2.dart b/public/docs/_examples/attribute-directives/dart/lib/highlight_directive_2.dart index 1561af0535..8c540b3a6a 100644 --- a/public/docs/_examples/attribute-directives/dart/lib/highlight_directive_2.dart +++ b/public/docs/_examples/attribute-directives/dart/lib/highlight_directive_2.dart @@ -1,5 +1,5 @@ // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; @Directive(selector: '[my-highlight]', // #docregion host diff --git a/public/docs/_examples/attribute-directives/dart/pubspec.yaml b/public/docs/_examples/attribute-directives/dart/pubspec.yaml index 25f96209c1..6eccaec6c3 100644 --- a/public/docs/_examples/attribute-directives/dart/pubspec.yaml +++ b/public/docs/_examples/attribute-directives/dart/pubspec.yaml @@ -5,9 +5,9 @@ version: 0.0.1 environment: sdk: '>=1.13.0 <2.0.0' dependencies: - angular2: 2.0.0-beta.11 + angular2: 2.0.0-beta.12 browser: ^0.10.0 - dart_to_js_script_rewriter: ^0.1.0 + dart_to_js_script_rewriter: ^1.0.1 transformers: - angular2: platform_directives: 'package:angular2/common.dart#CORE_DIRECTIVES' diff --git a/public/docs/_examples/dependency-injection/dart/pubspec.yaml b/public/docs/_examples/dependency-injection/dart/pubspec.yaml index d472d2099f..4395709b7f 100644 --- a/public/docs/_examples/dependency-injection/dart/pubspec.yaml +++ b/public/docs/_examples/dependency-injection/dart/pubspec.yaml @@ -7,7 +7,7 @@ environment: dependencies: angular2: 2.0.0-beta.12 browser: ^0.10.0 - dart_to_js_script_rewriter: ^0.1.0 + dart_to_js_script_rewriter: ^1.0.1 transformers: - angular2: platform_directives: 'package:angular2/common.dart#COMMON_DIRECTIVES' diff --git a/public/docs/_examples/displaying-data/dart/lib/app_component.dart b/public/docs/_examples/displaying-data/dart/lib/app_component.dart index 5374ba81a8..a5c04369e7 100644 --- a/public/docs/_examples/displaying-data/dart/lib/app_component.dart +++ b/public/docs/_examples/displaying-data/dart/lib/app_component.dart @@ -1,5 +1,5 @@ // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; import 'hero.dart'; diff --git a/public/docs/_examples/displaying-data/dart/lib/app_component_1.dart b/public/docs/_examples/displaying-data/dart/lib/app_component_1.dart index 1991a6645c..20f946fcc5 100644 --- a/public/docs/_examples/displaying-data/dart/lib/app_component_1.dart +++ b/public/docs/_examples/displaying-data/dart/lib/app_component_1.dart @@ -1,5 +1,5 @@ // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; @Component( selector: 'my-app', diff --git a/public/docs/_examples/displaying-data/dart/lib/app_component_2.dart b/public/docs/_examples/displaying-data/dart/lib/app_component_2.dart index ff97982532..52162e38e3 100644 --- a/public/docs/_examples/displaying-data/dart/lib/app_component_2.dart +++ b/public/docs/_examples/displaying-data/dart/lib/app_component_2.dart @@ -1,5 +1,5 @@ // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; // #docregion mock-heroes const List _heroes = const [ diff --git a/public/docs/_examples/displaying-data/dart/lib/app_component_3.dart b/public/docs/_examples/displaying-data/dart/lib/app_component_3.dart index 9a39808d18..69f424d797 100644 --- a/public/docs/_examples/displaying-data/dart/lib/app_component_3.dart +++ b/public/docs/_examples/displaying-data/dart/lib/app_component_3.dart @@ -1,5 +1,5 @@ // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; // #docregion heroes import 'hero.dart'; diff --git a/public/docs/_examples/displaying-data/dart/pubspec.yaml b/public/docs/_examples/displaying-data/dart/pubspec.yaml index b221a9737d..8310633c8f 100644 --- a/public/docs/_examples/displaying-data/dart/pubspec.yaml +++ b/public/docs/_examples/displaying-data/dart/pubspec.yaml @@ -5,9 +5,9 @@ version: 0.0.1 environment: sdk: '>=1.13.0 <2.0.0' dependencies: - angular2: 2.0.0-beta.11 + angular2: 2.0.0-beta.12 browser: ^0.10.0 - dart_to_js_script_rewriter: ^0.1.0 + dart_to_js_script_rewriter: ^1.0.1 transformers: - angular2: platform_directives: 'package:angular2/common.dart#CORE_DIRECTIVES' diff --git a/public/docs/_examples/forms/dart/lib/hero_form_component.dart b/public/docs/_examples/forms/dart/lib/hero_form_component.dart index 92f82cf0b1..e5d49a08c9 100644 --- a/public/docs/_examples/forms/dart/lib/hero_form_component.dart +++ b/public/docs/_examples/forms/dart/lib/hero_form_component.dart @@ -1,7 +1,7 @@ // #docplaster // #docregion // #docregion no-todo -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; import 'hero.dart'; diff --git a/public/docs/_examples/forms/dart/lib/hero_form_component_initial.dart b/public/docs/_examples/forms/dart/lib/hero_form_component_initial.dart index 3ba6afb443..53a2c20482 100644 --- a/public/docs/_examples/forms/dart/lib/hero_form_component_initial.dart +++ b/public/docs/_examples/forms/dart/lib/hero_form_component_initial.dart @@ -1,5 +1,5 @@ // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; @Component(selector: 'hero-form', template: 'Hero form will go here') class HeroFormComponent {} diff --git a/public/docs/_examples/forms/dart/pubspec.yaml b/public/docs/_examples/forms/dart/pubspec.yaml index df6c6dc0c0..3821fdf76f 100644 --- a/public/docs/_examples/forms/dart/pubspec.yaml +++ b/public/docs/_examples/forms/dart/pubspec.yaml @@ -5,9 +5,9 @@ version: 0.0.1 environment: sdk: '>=1.13.0 <2.0.0' dependencies: - angular2: 2.0.0-beta.11 + angular2: 2.0.0-beta.12 browser: ^0.10.0 - dart_to_js_script_rewriter: ^0.1.0 + dart_to_js_script_rewriter: ^1.0.1 transformers: - angular2: platform_directives: diff --git a/public/docs/_examples/hierarchical-dependency-injection/dart/lib/hero.dart b/public/docs/_examples/hierarchical-dependency-injection/dart/lib/hero.dart index 3a9ec96783..d62e5548da 100644 --- a/public/docs/_examples/hierarchical-dependency-injection/dart/lib/hero.dart +++ b/public/docs/_examples/hierarchical-dependency-injection/dart/lib/hero.dart @@ -1,5 +1,5 @@ // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; class Hero { String name; diff --git a/public/docs/_examples/hierarchical-dependency-injection/dart/lib/hero_card_component.dart b/public/docs/_examples/hierarchical-dependency-injection/dart/lib/hero_card_component.dart index bb4b2cfd1e..6fa8aeb6cd 100644 --- a/public/docs/_examples/hierarchical-dependency-injection/dart/lib/hero_card_component.dart +++ b/public/docs/_examples/hierarchical-dependency-injection/dart/lib/hero_card_component.dart @@ -1,5 +1,5 @@ // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; import 'hero.dart'; diff --git a/public/docs/_examples/hierarchical-dependency-injection/dart/lib/hero_editor_component.dart b/public/docs/_examples/hierarchical-dependency-injection/dart/lib/hero_editor_component.dart index 3619d3ab0d..7ad3226755 100644 --- a/public/docs/_examples/hierarchical-dependency-injection/dart/lib/hero_editor_component.dart +++ b/public/docs/_examples/hierarchical-dependency-injection/dart/lib/hero_editor_component.dart @@ -1,5 +1,5 @@ // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; import 'hero.dart'; import 'restore_service.dart'; diff --git a/public/docs/_examples/hierarchical-dependency-injection/dart/lib/heroes_list_component.dart b/public/docs/_examples/hierarchical-dependency-injection/dart/lib/heroes_list_component.dart index 90fbc8e2c4..c484b2091d 100644 --- a/public/docs/_examples/hierarchical-dependency-injection/dart/lib/heroes_list_component.dart +++ b/public/docs/_examples/hierarchical-dependency-injection/dart/lib/heroes_list_component.dart @@ -1,5 +1,5 @@ // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; import 'edit_item.dart'; import 'hero.dart'; diff --git a/public/docs/_examples/hierarchical-dependency-injection/dart/lib/heroes_service.dart b/public/docs/_examples/hierarchical-dependency-injection/dart/lib/heroes_service.dart index adc97586ac..c02eeb7539 100644 --- a/public/docs/_examples/hierarchical-dependency-injection/dart/lib/heroes_service.dart +++ b/public/docs/_examples/hierarchical-dependency-injection/dart/lib/heroes_service.dart @@ -1,5 +1,5 @@ // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; import 'hero.dart'; diff --git a/public/docs/_examples/hierarchical-dependency-injection/dart/lib/restore_service.dart b/public/docs/_examples/hierarchical-dependency-injection/dart/lib/restore_service.dart index a6d8c59d35..8ddb820f05 100644 --- a/public/docs/_examples/hierarchical-dependency-injection/dart/lib/restore_service.dart +++ b/public/docs/_examples/hierarchical-dependency-injection/dart/lib/restore_service.dart @@ -1,5 +1,5 @@ // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; @Injectable() class RestoreService { diff --git a/public/docs/_examples/hierarchical-dependency-injection/dart/pubspec.yaml b/public/docs/_examples/hierarchical-dependency-injection/dart/pubspec.yaml index 550b9c5b31..1d29af3a88 100644 --- a/public/docs/_examples/hierarchical-dependency-injection/dart/pubspec.yaml +++ b/public/docs/_examples/hierarchical-dependency-injection/dart/pubspec.yaml @@ -5,9 +5,9 @@ version: 0.0.1 environment: sdk: '>=1.13.0 <2.0.0' dependencies: - angular2: 2.0.0-beta.11 + angular2: 2.0.0-beta.12 browser: ^0.10.0 - dart_to_js_script_rewriter: ^0.1.0 + dart_to_js_script_rewriter: ^1.0.1 transformers: - angular2: platform_directives: 'package:angular2/common.dart#COMMON_DIRECTIVES' diff --git a/public/docs/_examples/lifecycle-hooks/dart/lib/after_content_parent.dart b/public/docs/_examples/lifecycle-hooks/dart/lib/after_content_parent.dart index bffea129ab..a753d5f76a 100644 --- a/public/docs/_examples/lifecycle-hooks/dart/lib/after_content_parent.dart +++ b/public/docs/_examples/lifecycle-hooks/dart/lib/after_content_parent.dart @@ -1,5 +1,5 @@ // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; import 'child_component.dart'; import 'logger_service.dart'; diff --git a/public/docs/_examples/lifecycle-hooks/dart/lib/after_view_component.dart b/public/docs/_examples/lifecycle-hooks/dart/lib/after_view_component.dart index 505571a679..c4274febf5 100644 --- a/public/docs/_examples/lifecycle-hooks/dart/lib/after_view_component.dart +++ b/public/docs/_examples/lifecycle-hooks/dart/lib/after_view_component.dart @@ -1,5 +1,5 @@ // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; import 'child_component.dart'; import 'logger_service.dart'; diff --git a/public/docs/_examples/lifecycle-hooks/dart/lib/app_component.dart b/public/docs/_examples/lifecycle-hooks/dart/lib/app_component.dart index dff8c59cf1..3c6b7d6cfb 100644 --- a/public/docs/_examples/lifecycle-hooks/dart/lib/app_component.dart +++ b/public/docs/_examples/lifecycle-hooks/dart/lib/app_component.dart @@ -1,5 +1,5 @@ // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; import 'after_content_parent.dart'; import 'after_view_component.dart'; diff --git a/public/docs/_examples/lifecycle-hooks/dart/lib/child_component.dart b/public/docs/_examples/lifecycle-hooks/dart/lib/child_component.dart index dc43e899dc..83eebabd6e 100644 --- a/public/docs/_examples/lifecycle-hooks/dart/lib/child_component.dart +++ b/public/docs/_examples/lifecycle-hooks/dart/lib/child_component.dart @@ -1,5 +1,5 @@ // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; @Component( selector: 'my-child', diff --git a/public/docs/_examples/lifecycle-hooks/dart/lib/counter_component.dart b/public/docs/_examples/lifecycle-hooks/dart/lib/counter_component.dart index 0aaf2b155f..e338fe4a79 100644 --- a/public/docs/_examples/lifecycle-hooks/dart/lib/counter_component.dart +++ b/public/docs/_examples/lifecycle-hooks/dart/lib/counter_component.dart @@ -1,5 +1,5 @@ // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; import 'logger_service.dart'; import 'spy_directive.dart'; diff --git a/public/docs/_examples/lifecycle-hooks/dart/lib/logger_service.dart b/public/docs/_examples/lifecycle-hooks/dart/lib/logger_service.dart index 51fe44cb39..4809990529 100644 --- a/public/docs/_examples/lifecycle-hooks/dart/lib/logger_service.dart +++ b/public/docs/_examples/lifecycle-hooks/dart/lib/logger_service.dart @@ -1,6 +1,6 @@ import 'dart:async'; -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; @Injectable() class LoggerService { diff --git a/public/docs/_examples/lifecycle-hooks/dart/lib/on_changes_component.dart b/public/docs/_examples/lifecycle-hooks/dart/lib/on_changes_component.dart index 34389ddb2e..45461a6019 100644 --- a/public/docs/_examples/lifecycle-hooks/dart/lib/on_changes_component.dart +++ b/public/docs/_examples/lifecycle-hooks/dart/lib/on_changes_component.dart @@ -1,7 +1,7 @@ // #docregion import 'dart:convert'; -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; class Hero { String name; diff --git a/public/docs/_examples/lifecycle-hooks/dart/lib/peek_a_boo_component.dart b/public/docs/_examples/lifecycle-hooks/dart/lib/peek_a_boo_component.dart index 5315e3cd44..0a5db8914f 100644 --- a/public/docs/_examples/lifecycle-hooks/dart/lib/peek_a_boo_component.dart +++ b/public/docs/_examples/lifecycle-hooks/dart/lib/peek_a_boo_component.dart @@ -1,6 +1,6 @@ // #docregion // #docregion lc-imports -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; import 'logger_service.dart'; diff --git a/public/docs/_examples/lifecycle-hooks/dart/lib/peek_a_boo_parent_component.dart b/public/docs/_examples/lifecycle-hooks/dart/lib/peek_a_boo_parent_component.dart index d9cdfa68bf..9c06142a3c 100644 --- a/public/docs/_examples/lifecycle-hooks/dart/lib/peek_a_boo_parent_component.dart +++ b/public/docs/_examples/lifecycle-hooks/dart/lib/peek_a_boo_parent_component.dart @@ -1,5 +1,5 @@ // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; import 'logger_service.dart'; import 'peek_a_boo_component.dart'; diff --git a/public/docs/_examples/lifecycle-hooks/dart/lib/spy_component.dart b/public/docs/_examples/lifecycle-hooks/dart/lib/spy_component.dart index b5db1d0059..1e9cfa8a26 100644 --- a/public/docs/_examples/lifecycle-hooks/dart/lib/spy_component.dart +++ b/public/docs/_examples/lifecycle-hooks/dart/lib/spy_component.dart @@ -1,5 +1,5 @@ // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; import 'logger_service.dart'; import 'spy_directive.dart'; diff --git a/public/docs/_examples/lifecycle-hooks/dart/lib/spy_directive.dart b/public/docs/_examples/lifecycle-hooks/dart/lib/spy_directive.dart index 84e5937a56..f7c0b4335f 100644 --- a/public/docs/_examples/lifecycle-hooks/dart/lib/spy_directive.dart +++ b/public/docs/_examples/lifecycle-hooks/dart/lib/spy_directive.dart @@ -1,5 +1,5 @@ // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; import 'logger_service.dart'; diff --git a/public/docs/_examples/lifecycle-hooks/dart/pubspec.yaml b/public/docs/_examples/lifecycle-hooks/dart/pubspec.yaml index 9fbfc1ec4d..ac7527fbcb 100644 --- a/public/docs/_examples/lifecycle-hooks/dart/pubspec.yaml +++ b/public/docs/_examples/lifecycle-hooks/dart/pubspec.yaml @@ -5,9 +5,9 @@ version: 0.0.1 environment: sdk: '>=1.13.0 <2.0.0' dependencies: - angular2: 2.0.0-beta.11 + angular2: 2.0.0-beta.12 browser: ^0.10.0 - dart_to_js_script_rewriter: ^0.1.0 + dart_to_js_script_rewriter: ^1.0.1 transformers: - angular2: platform_directives: diff --git a/public/docs/_examples/pipes/dart/pubspec.yaml b/public/docs/_examples/pipes/dart/pubspec.yaml index d4d647cf66..3560811b6b 100644 --- a/public/docs/_examples/pipes/dart/pubspec.yaml +++ b/public/docs/_examples/pipes/dart/pubspec.yaml @@ -5,9 +5,9 @@ version: 0.0.1 environment: sdk: '>=1.13.0 <2.0.0' dependencies: - angular2: 2.0.0-beta.11 + angular2: 2.0.0-beta.12 browser: ^0.10.0 - dart_to_js_script_rewriter: ^0.1.0 + dart_to_js_script_rewriter: ^1.0.1 transformers: - angular2: platform_directives: 'package:angular2/src/common/directives.dart#CORE_DIRECTIVES' diff --git a/public/docs/_examples/quickstart/dart/ex1/pubspec.yaml b/public/docs/_examples/quickstart/dart/ex1/pubspec.yaml index 11041e227e..0254fd3eb0 100644 --- a/public/docs/_examples/quickstart/dart/ex1/pubspec.yaml +++ b/public/docs/_examples/quickstart/dart/ex1/pubspec.yaml @@ -5,7 +5,7 @@ version: 0.0.1 environment: sdk: '>=1.13.0 <2.0.0' dependencies: - angular2: 2.0.0-beta.11 + angular2: 2.0.0-beta.12 browser: ^0.10.0 transformers: - angular2: diff --git a/public/docs/_examples/quickstart/dart/ex1/web/main.dart b/public/docs/_examples/quickstart/dart/ex1/web/main.dart index e6836148a3..e264103ff3 100644 --- a/public/docs/_examples/quickstart/dart/ex1/web/main.dart +++ b/public/docs/_examples/quickstart/dart/ex1/web/main.dart @@ -1,6 +1,6 @@ // #docregion -import 'package:angular2/angular2.dart'; import 'package:angular2/bootstrap.dart'; +import 'package:angular2/core.dart'; @Component(selector: 'my-app', template: '

My First Angular 2 App

') class AppComponent {} diff --git a/public/docs/_examples/quickstart/dart/ex2/pubspec.yaml b/public/docs/_examples/quickstart/dart/ex2/pubspec.yaml index 4211bf2489..b6bca476bc 100644 --- a/public/docs/_examples/quickstart/dart/ex2/pubspec.yaml +++ b/public/docs/_examples/quickstart/dart/ex2/pubspec.yaml @@ -5,9 +5,9 @@ version: 0.0.1 environment: sdk: '>=1.13.0 <2.0.0' dependencies: - angular2: 2.0.0-beta.11 + angular2: 2.0.0-beta.12 browser: ^0.10.0 - dart_to_js_script_rewriter: ^0.1.0 + dart_to_js_script_rewriter: ^1.0.1 transformers: - angular2: entry_points: web/main.dart diff --git a/public/docs/_examples/quickstart/dart/ex2/web/main.dart b/public/docs/_examples/quickstart/dart/ex2/web/main.dart index e6836148a3..e264103ff3 100644 --- a/public/docs/_examples/quickstart/dart/ex2/web/main.dart +++ b/public/docs/_examples/quickstart/dart/ex2/web/main.dart @@ -1,6 +1,6 @@ // #docregion -import 'package:angular2/angular2.dart'; import 'package:angular2/bootstrap.dart'; +import 'package:angular2/core.dart'; @Component(selector: 'my-app', template: '

My First Angular 2 App

') class AppComponent {} diff --git a/public/docs/_examples/server-communication/dart/lib/toh/hero_list_component.dart b/public/docs/_examples/server-communication/dart/lib/toh/hero_list_component.dart index f51a98d35b..89b8714a39 100644 --- a/public/docs/_examples/server-communication/dart/lib/toh/hero_list_component.dart +++ b/public/docs/_examples/server-communication/dart/lib/toh/hero_list_component.dart @@ -1,6 +1,8 @@ // #docregion import 'dart:async'; -import 'package:angular2/angular2.dart'; + +import 'package:angular2/core.dart'; + import 'hero.dart'; import 'hero_service.dart'; diff --git a/public/docs/_examples/server-communication/dart/lib/toh/hero_service.dart b/public/docs/_examples/server-communication/dart/lib/toh/hero_service.dart index f81d45be38..a009d03b7a 100644 --- a/public/docs/_examples/server-communication/dart/lib/toh/hero_service.dart +++ b/public/docs/_examples/server-communication/dart/lib/toh/hero_service.dart @@ -4,7 +4,7 @@ import 'dart:async'; import 'dart:convert'; -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; // #enddocregion v1 // #docregion import-request-options import 'package:http/browser_client.dart'; diff --git a/public/docs/_examples/server-communication/dart/lib/toh/toh_component.dart b/public/docs/_examples/server-communication/dart/lib/toh/toh_component.dart index 3b2a6b27b4..80aff10bdf 100644 --- a/public/docs/_examples/server-communication/dart/lib/toh/toh_component.dart +++ b/public/docs/_examples/server-communication/dart/lib/toh/toh_component.dart @@ -1,4 +1,4 @@ -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; import 'package:http_in_memory_web_api/http_in_memory_web_api.dart'; import 'package:http/browser_client.dart'; import 'package:server_communication/hero_data.dart'; diff --git a/public/docs/_examples/server-communication/dart/lib/wiki/wiki_component.dart b/public/docs/_examples/server-communication/dart/lib/wiki/wiki_component.dart index 78d44f93bc..dce151e834 100644 --- a/public/docs/_examples/server-communication/dart/lib/wiki/wiki_component.dart +++ b/public/docs/_examples/server-communication/dart/lib/wiki/wiki_component.dart @@ -1,6 +1,8 @@ // #docregion import 'dart:async'; -import 'package:angular2/angular2.dart'; + +import 'package:angular2/core.dart'; + import 'wikipedia_service.dart'; @Component( diff --git a/public/docs/_examples/server-communication/dart/lib/wiki/wiki_smart_component.dart b/public/docs/_examples/server-communication/dart/lib/wiki/wiki_smart_component.dart index 3be519471b..6f8934b2f3 100644 --- a/public/docs/_examples/server-communication/dart/lib/wiki/wiki_smart_component.dart +++ b/public/docs/_examples/server-communication/dart/lib/wiki/wiki_smart_component.dart @@ -1,5 +1,5 @@ // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; import 'package:stream_transformers/stream_transformers.dart'; import 'wikipedia_service.dart'; diff --git a/public/docs/_examples/server-communication/dart/lib/wiki/wikipedia_service.dart b/public/docs/_examples/server-communication/dart/lib/wiki/wikipedia_service.dart index d4314c3f08..6942f7fa93 100644 --- a/public/docs/_examples/server-communication/dart/lib/wiki/wikipedia_service.dart +++ b/public/docs/_examples/server-communication/dart/lib/wiki/wikipedia_service.dart @@ -1,6 +1,7 @@ // #docregion import 'dart:async'; -import 'package:angular2/angular2.dart'; + +import 'package:angular2/core.dart'; import 'package:jsonpadding/jsonpadding.dart'; @Injectable() diff --git a/public/docs/_examples/server-communication/dart/pubspec.yaml b/public/docs/_examples/server-communication/dart/pubspec.yaml index 3b5c1fce16..6445317e8c 100644 --- a/public/docs/_examples/server-communication/dart/pubspec.yaml +++ b/public/docs/_examples/server-communication/dart/pubspec.yaml @@ -5,9 +5,9 @@ version: 0.0.1 environment: sdk: '>=1.13.0 <2.0.0' dependencies: - angular2: 2.0.0-beta.11 + angular2: 2.0.0-beta.12 browser: ^0.10.0 - dart_to_js_script_rewriter: ^0.1.0 + dart_to_js_script_rewriter: ^1.0.1 http: ^0.11.3+3 jsonpadding: ^0.1.0 stream_transformers: ^0.3.0+3 diff --git a/public/docs/_examples/structural-directives/dart/lib/heavy_loader_component.dart b/public/docs/_examples/structural-directives/dart/lib/heavy_loader_component.dart index 647542accc..a2efd3b2f1 100644 --- a/public/docs/_examples/structural-directives/dart/lib/heavy_loader_component.dart +++ b/public/docs/_examples/structural-directives/dart/lib/heavy_loader_component.dart @@ -1,7 +1,7 @@ // #docregion import 'dart:async'; -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; int nextId = 1; diff --git a/public/docs/_examples/structural-directives/dart/lib/structural_directives_component.dart b/public/docs/_examples/structural-directives/dart/lib/structural_directives_component.dart index 477b372bb0..901c8b18b1 100644 --- a/public/docs/_examples/structural-directives/dart/lib/structural_directives_component.dart +++ b/public/docs/_examples/structural-directives/dart/lib/structural_directives_component.dart @@ -1,6 +1,6 @@ // #docplaster // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; import 'heavy_loader_component.dart'; import 'unless_directive.dart'; diff --git a/public/docs/_examples/structural-directives/dart/lib/unless_directive.dart b/public/docs/_examples/structural-directives/dart/lib/unless_directive.dart index 7760658b48..907e0edd15 100644 --- a/public/docs/_examples/structural-directives/dart/lib/unless_directive.dart +++ b/public/docs/_examples/structural-directives/dart/lib/unless_directive.dart @@ -1,7 +1,7 @@ // #docplaster // #docregion // #docregion unless-declaration -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; // #enddocregion unless-declaration // #docregion unless-declaration diff --git a/public/docs/_examples/structural-directives/dart/pubspec.yaml b/public/docs/_examples/structural-directives/dart/pubspec.yaml index 4969b0068e..a1e42dbe7f 100644 --- a/public/docs/_examples/structural-directives/dart/pubspec.yaml +++ b/public/docs/_examples/structural-directives/dart/pubspec.yaml @@ -5,9 +5,9 @@ version: 0.0.1 environment: sdk: '>=1.13.0 <2.0.0' dependencies: - angular2: 2.0.0-beta.11 + angular2: 2.0.0-beta.12 browser: ^0.10.0 - dart_to_js_script_rewriter: ^0.1.0 + dart_to_js_script_rewriter: ^1.0.1 transformers: - angular2: platform_directives: 'package:angular2/common.dart#CORE_DIRECTIVES' diff --git a/public/docs/_examples/template-syntax/dart/lib/app_component.dart b/public/docs/_examples/template-syntax/dart/lib/app_component.dart index 0963e28b58..be36d6c38d 100644 --- a/public/docs/_examples/template-syntax/dart/lib/app_component.dart +++ b/public/docs/_examples/template-syntax/dart/lib/app_component.dart @@ -2,7 +2,7 @@ import 'dart:convert'; import 'dart:html'; -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; import 'hero.dart'; import 'hero_detail_component.dart'; diff --git a/public/docs/_examples/template-syntax/dart/lib/hero_detail_component.dart b/public/docs/_examples/template-syntax/dart/lib/hero_detail_component.dart index 80130e0b18..5fd0b1e3cf 100644 --- a/public/docs/_examples/template-syntax/dart/lib/hero_detail_component.dart +++ b/public/docs/_examples/template-syntax/dart/lib/hero_detail_component.dart @@ -1,6 +1,6 @@ // #docplaster // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; import 'hero.dart'; diff --git a/public/docs/_examples/template-syntax/dart/lib/my_click_directive.dart b/public/docs/_examples/template-syntax/dart/lib/my_click_directive.dart index 74299c19c1..0980478f29 100644 --- a/public/docs/_examples/template-syntax/dart/lib/my_click_directive.dart +++ b/public/docs/_examples/template-syntax/dart/lib/my_click_directive.dart @@ -1,7 +1,7 @@ // #docplaster import 'dart:html'; -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; @Directive(selector: '[myClick]') class MyClickDirective { diff --git a/public/docs/_examples/template-syntax/dart/pubspec.yaml b/public/docs/_examples/template-syntax/dart/pubspec.yaml index 2dbd8ae0e4..1189ff2633 100644 --- a/public/docs/_examples/template-syntax/dart/pubspec.yaml +++ b/public/docs/_examples/template-syntax/dart/pubspec.yaml @@ -5,9 +5,9 @@ version: 0.0.1 environment: sdk: '>=1.13.0 <2.0.0' dependencies: - angular2: 2.0.0-beta.11 + angular2: 2.0.0-beta.12 browser: ^0.10.0 - dart_to_js_script_rewriter: ^0.1.0 + dart_to_js_script_rewriter: ^1.0.1 transformers: - angular2: platform_pipes: 'package:angular2/common.dart#COMMON_PIPES' @@ -16,5 +16,3 @@ transformers: - 'package:angular2/common.dart#FORM_DIRECTIVES' entry_points: web/main.dart - dart_to_js_script_rewriter -- $dart2js: - checked: true diff --git a/public/docs/_examples/toh-5/dart/lib/app_component.dart b/public/docs/_examples/toh-5/dart/lib/app_component.dart index 9af70e7ebe..60ebd7c9bc 100644 --- a/public/docs/_examples/toh-5/dart/lib/app_component.dart +++ b/public/docs/_examples/toh-5/dart/lib/app_component.dart @@ -1,6 +1,6 @@ // #docplaster // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; import 'package:angular2/router.dart'; import 'package:angular2_tour_of_heroes/heroes_component.dart'; diff --git a/public/docs/_examples/toh-5/dart/lib/app_component_1.dart b/public/docs/_examples/toh-5/dart/lib/app_component_1.dart index 3a109d2321..da03cbbee0 100644 --- a/public/docs/_examples/toh-5/dart/lib/app_component_1.dart +++ b/public/docs/_examples/toh-5/dart/lib/app_component_1.dart @@ -1,6 +1,6 @@ // #docplaster // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; // #enddocregion import 'package:angular2/router.dart'; // for testing only // #docregion diff --git a/public/docs/_examples/toh-5/dart/lib/app_component_2.dart b/public/docs/_examples/toh-5/dart/lib/app_component_2.dart index d0b6854c0f..a677520d91 100644 --- a/public/docs/_examples/toh-5/dart/lib/app_component_2.dart +++ b/public/docs/_examples/toh-5/dart/lib/app_component_2.dart @@ -1,6 +1,6 @@ // #docplaster // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; // #docregion import-router import 'package:angular2/router.dart'; // #enddocregion import-router diff --git a/public/docs/_examples/toh-5/dart/lib/dashboard_component.dart b/public/docs/_examples/toh-5/dart/lib/dashboard_component.dart index bd5d6f2caf..76335c54c4 100644 --- a/public/docs/_examples/toh-5/dart/lib/dashboard_component.dart +++ b/public/docs/_examples/toh-5/dart/lib/dashboard_component.dart @@ -1,6 +1,6 @@ // #docplaster // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; // #docregion import-router import 'package:angular2/router.dart'; // #enddocregion import-router diff --git a/public/docs/_examples/toh-5/dart/lib/dashboard_component_1.dart b/public/docs/_examples/toh-5/dart/lib/dashboard_component_1.dart index 0839105b8c..5324624d1f 100644 --- a/public/docs/_examples/toh-5/dart/lib/dashboard_component_1.dart +++ b/public/docs/_examples/toh-5/dart/lib/dashboard_component_1.dart @@ -1,5 +1,5 @@ // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; @Component( selector: 'my-dashboard', diff --git a/public/docs/_examples/toh-5/dart/lib/dashboard_component_2.dart b/public/docs/_examples/toh-5/dart/lib/dashboard_component_2.dart index a91eddf22c..fa1dd9a41e 100644 --- a/public/docs/_examples/toh-5/dart/lib/dashboard_component_2.dart +++ b/public/docs/_examples/toh-5/dart/lib/dashboard_component_2.dart @@ -1,6 +1,6 @@ // #docplaster // #docregion imports -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; import 'hero.dart'; import 'hero_service.dart'; diff --git a/public/docs/_examples/toh-5/dart/lib/hero_detail_component.dart b/public/docs/_examples/toh-5/dart/lib/hero_detail_component.dart index c92b9981d6..ec143efb62 100644 --- a/public/docs/_examples/toh-5/dart/lib/hero_detail_component.dart +++ b/public/docs/_examples/toh-5/dart/lib/hero_detail_component.dart @@ -4,7 +4,7 @@ import 'dart:html'; // #docregion import-oninit -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; // #enddocregion import-oninit // #docregion import-route-params import 'package:angular2/router.dart'; diff --git a/public/docs/_examples/toh-5/dart/lib/hero_service.dart b/public/docs/_examples/toh-5/dart/lib/hero_service.dart index eb6cc9f7f0..97490fd5fa 100644 --- a/public/docs/_examples/toh-5/dart/lib/hero_service.dart +++ b/public/docs/_examples/toh-5/dart/lib/hero_service.dart @@ -3,7 +3,7 @@ // #docregion import 'dart:async'; -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; import 'hero.dart'; import 'mock_heroes.dart'; diff --git a/public/docs/_examples/toh-5/dart/lib/heroes_component.dart b/public/docs/_examples/toh-5/dart/lib/heroes_component.dart index 2cfc0fcbab..d615756952 100644 --- a/public/docs/_examples/toh-5/dart/lib/heroes_component.dart +++ b/public/docs/_examples/toh-5/dart/lib/heroes_component.dart @@ -2,7 +2,7 @@ // #docregion import 'dart:async'; -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; import 'package:angular2/router.dart'; import 'hero.dart'; diff --git a/public/docs/_examples/toh-5/dart/pubspec.yaml b/public/docs/_examples/toh-5/dart/pubspec.yaml index 274d8224fd..a043b1067d 100644 --- a/public/docs/_examples/toh-5/dart/pubspec.yaml +++ b/public/docs/_examples/toh-5/dart/pubspec.yaml @@ -5,14 +5,12 @@ version: 0.0.1 environment: sdk: '>=1.13.0 <2.0.0' dependencies: - angular2: 2.0.0-beta.11 + angular2: 2.0.0-beta.12 browser: ^0.10.0 - dart_to_js_script_rewriter: ^0.1.0+4 + dart_to_js_script_rewriter: ^1.0.1 transformers: - angular2: platform_directives: package:angular2/common.dart#COMMON_DIRECTIVES platform_pipes: package:angular2/common.dart#COMMON_PIPES entry_points: web/main.dart - dart_to_js_script_rewriter -- $dart2js: - checked: true diff --git a/public/docs/_examples/user-input/dart/lib/app_component.dart b/public/docs/_examples/user-input/dart/lib/app_component.dart index 4a2f3fe6ff..d86db43cb0 100644 --- a/public/docs/_examples/user-input/dart/lib/app_component.dart +++ b/public/docs/_examples/user-input/dart/lib/app_component.dart @@ -1,5 +1,5 @@ // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; import 'click_me_component.dart'; import 'click_me_component_2.dart'; diff --git a/public/docs/_examples/user-input/dart/lib/click_me_component.dart b/public/docs/_examples/user-input/dart/lib/click_me_component.dart index eaad88dd0c..c1c7e19f93 100644 --- a/public/docs/_examples/user-input/dart/lib/click_me_component.dart +++ b/public/docs/_examples/user-input/dart/lib/click_me_component.dart @@ -1,5 +1,5 @@ // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; // #docregion click-me-component @Component( diff --git a/public/docs/_examples/user-input/dart/lib/click_me_component_2.dart b/public/docs/_examples/user-input/dart/lib/click_me_component_2.dart index e96399d943..8047b2280a 100644 --- a/public/docs/_examples/user-input/dart/lib/click_me_component_2.dart +++ b/public/docs/_examples/user-input/dart/lib/click_me_component_2.dart @@ -1,5 +1,5 @@ // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; @Component( selector: 'click-me2', diff --git a/public/docs/_examples/user-input/dart/lib/keyup_components.dart b/public/docs/_examples/user-input/dart/lib/keyup_components.dart index e48056a1aa..c38a51e9a3 100644 --- a/public/docs/_examples/user-input/dart/lib/keyup_components.dart +++ b/public/docs/_examples/user-input/dart/lib/keyup_components.dart @@ -2,7 +2,7 @@ // #docregion import 'dart:html'; -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; // #docregion key-up-component-1 @Component( diff --git a/public/docs/_examples/user-input/dart/lib/little_tour_component.dart b/public/docs/_examples/user-input/dart/lib/little_tour_component.dart index ba98f37d68..581689a85e 100644 --- a/public/docs/_examples/user-input/dart/lib/little_tour_component.dart +++ b/public/docs/_examples/user-input/dart/lib/little_tour_component.dart @@ -1,5 +1,5 @@ // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; // #docregion little-tour @Component( diff --git a/public/docs/_examples/user-input/dart/lib/loop_back_component.dart b/public/docs/_examples/user-input/dart/lib/loop_back_component.dart index b79f3f5ac4..f2ceb75d11 100644 --- a/public/docs/_examples/user-input/dart/lib/loop_back_component.dart +++ b/public/docs/_examples/user-input/dart/lib/loop_back_component.dart @@ -1,5 +1,5 @@ // #docregion -import 'package:angular2/angular2.dart'; +import 'package:angular2/core.dart'; // #docregion loop-back-component @Component( diff --git a/public/docs/_examples/user-input/dart/pubspec.yaml b/public/docs/_examples/user-input/dart/pubspec.yaml index 4563ea5f93..addf6e418b 100644 --- a/public/docs/_examples/user-input/dart/pubspec.yaml +++ b/public/docs/_examples/user-input/dart/pubspec.yaml @@ -5,9 +5,9 @@ version: 0.0.1 environment: sdk: '>=1.13.0 <2.0.0' dependencies: - angular2: 2.0.0-beta.11 + angular2: 2.0.0-beta.12 browser: ^0.10.0 - dart_to_js_script_rewriter: ^0.1.0 + dart_to_js_script_rewriter: ^1.0.1 transformers: - angular2: platform_directives: 'package:angular2/common.dart#CORE_DIRECTIVES' diff --git a/public/docs/dart/latest/guide/displaying-data.jade b/public/docs/dart/latest/guide/displaying-data.jade index b69eb829ef..784cc2ef70 100644 --- a/public/docs/dart/latest/guide/displaying-data.jade +++ b/public/docs/dart/latest/guide/displaying-data.jade @@ -43,7 +43,7 @@ figure.image-display In `main.dart`, importing `app_component.dart` lets us implement part of the app in a different Dart file. The QuickStart version of `main.dart` - imported `angular2.dart`, but we don't need that import here because + imported `core.dart`, but we don't need that import here because this version of `main.dart` is so basic: it only bootstraps the app, and doesn't implement any components or other injectable types. diff --git a/public/docs/dart/latest/quickstart.jade b/public/docs/dart/latest/quickstart.jade index 722ae8cfe3..49821b9af3 100644 --- a/public/docs/dart/latest/quickstart.jade +++ b/public/docs/dart/latest/quickstart.jade @@ -41,7 +41,7 @@ p. specify the angular2 and browser packages as dependencies, as well as the angular2 transformer. Angular 2 is still changing, so provide an exact version: - 2.0.0-beta.11. + 2.0.0-beta.12. +makeExample('quickstart/dart/ex1/pubspec.yaml', null, 'pubspec.yaml') @@ -106,7 +106,7 @@ p. consist of more components arising in tree-like fashion from this root. The top lines import two libraries. - *All* Dart files that use Angular APIs import `angular2.dart`. + *All* Dart files that use Angular APIs import `core.dart`. Only files that call `bootstrap()` import `bootstrap.dart`. //- ##########################