diff --git a/public/docs/_examples/gettingstarted/dart/ex1/pubspec.yaml b/public/docs/_examples/quickstart/dart/ex1/pubspec.yaml similarity index 84% rename from public/docs/_examples/gettingstarted/dart/ex1/pubspec.yaml rename to public/docs/_examples/quickstart/dart/ex1/pubspec.yaml index 1a5f09eb1b..7e7df16cbc 100644 --- a/public/docs/_examples/gettingstarted/dart/ex1/pubspec.yaml +++ b/public/docs/_examples/quickstart/dart/ex1/pubspec.yaml @@ -2,7 +2,7 @@ name: angular2-getting-started version: 0.0.1 dependencies: - angular2: 2.0.0-alpha.42 + angular2: 2.0.0-alpha.44 browser: ^0.10.0 transformers: - angular2: diff --git a/public/docs/_examples/gettingstarted/dart/ex1/web/index.html b/public/docs/_examples/quickstart/dart/ex1/web/index.html similarity index 100% rename from public/docs/_examples/gettingstarted/dart/ex1/web/index.html rename to public/docs/_examples/quickstart/dart/ex1/web/index.html diff --git a/public/docs/_examples/gettingstarted/dart/ex1/web/main.dart b/public/docs/_examples/quickstart/dart/ex1/web/main.dart similarity index 100% rename from public/docs/_examples/gettingstarted/dart/ex1/web/main.dart rename to public/docs/_examples/quickstart/dart/ex1/web/main.dart diff --git a/public/docs/_examples/gettingstarted/dart/ex2/pubspec.yaml b/public/docs/_examples/quickstart/dart/ex2/pubspec.yaml similarity index 88% rename from public/docs/_examples/gettingstarted/dart/ex2/pubspec.yaml rename to public/docs/_examples/quickstart/dart/ex2/pubspec.yaml index 9a0bfaf8db..2db234dc71 100644 --- a/public/docs/_examples/gettingstarted/dart/ex2/pubspec.yaml +++ b/public/docs/_examples/quickstart/dart/ex2/pubspec.yaml @@ -2,7 +2,7 @@ name: angular2-getting-started version: 0.0.1 dependencies: - angular2: 2.0.0-alpha.42 + angular2: 2.0.0-alpha.44 browser: ^0.10.0 dart_to_js_script_rewriter: ^0.1.0 transformers: diff --git a/public/docs/_examples/gettingstarted/dart/ex2/web/index.html b/public/docs/_examples/quickstart/dart/ex2/web/index.html similarity index 100% rename from public/docs/_examples/gettingstarted/dart/ex2/web/index.html rename to public/docs/_examples/quickstart/dart/ex2/web/index.html diff --git a/public/docs/_examples/gettingstarted/dart/ex2/web/main.dart b/public/docs/_examples/quickstart/dart/ex2/web/main.dart similarity index 100% rename from public/docs/_examples/gettingstarted/dart/ex2/web/main.dart rename to public/docs/_examples/quickstart/dart/ex2/web/main.dart diff --git a/public/docs/dart/latest/quickstart.jade b/public/docs/dart/latest/quickstart.jade index 2f374653e9..4358382a9c 100644 --- a/public/docs/dart/latest/quickstart.jade +++ b/public/docs/dart/latest/quickstart.jade @@ -41,9 +41,9 @@ 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.42. + 2.0.0-alpha.44. - +makeExample('gettingstarted/dart/ex1/pubspec.yaml', null, 'pubspec.yaml') + +makeExample('quickstart/dart/ex1/pubspec.yaml', null, 'pubspec.yaml') p. In the same directory, create a web directory, and then @@ -71,7 +71,7 @@ p. p. Paste the following code into web/main.dart: - +makeExample('gettingstarted/dart/ex1/web/main.dart', null, 'web/main.dart') + +makeExample('quickstart/dart/ex1/web/main.dart', null, 'web/main.dart') :markdown You've just defined an Angular 2 **component**, @@ -119,7 +119,7 @@ p. Create a file named web/index.html that contains the following code: - +makeExample('gettingstarted/dart/ex1/web/index.html', null, 'web/index.html') + +makeExample('quickstart/dart/ex1/web/index.html', null, 'web/index.html') :markdown The `` tag in the `` is @@ -149,7 +149,7 @@ p. Once the app is running, you should see My First Angular 2 App in your browser window. - p. + :markdown If you don't see that, make sure you've entered all the code correctly and run `pub get`. @@ -170,7 +170,7 @@ p. in both the `dependencies` and `transformers` sections. - var stylePattern = { pnk: /(dart_to_js_script_rewriter.*$)|(- dart_to_js_script_rewriter.*$)/gm, otl: /(dependencies:)|(transformers:)/g }; - +makeExample('gettingstarted/dart/ex2/pubspec.yaml', null, 'pubspec.yaml', stylePattern) + +makeExample('quickstart/dart/ex2/pubspec.yaml', null, 'pubspec.yaml', stylePattern) p. Then compile your Dart code to JavaScript, @@ -179,7 +179,6 @@ p. code-example(language="basic"). > pub build Loading source assets... - //- REGENERATE THIS OUTPUT - or delete it? - when updating from 2.0.0-alpha.42 p. The generated JavaScript appears, along with supporting files, @@ -195,7 +194,7 @@ p. configure the Angular transformer: - var stylePattern = { otl: /(transformers:)|(- angular2:)|(entry_points.*$)/gm }; - +makeExample('gettingstarted/dart/ex2/pubspec.yaml', null, 'pubspec.yaml', stylePattern) + +makeExample('quickstart/dart/ex2/pubspec.yaml', null, 'pubspec.yaml', stylePattern) p. The entry_points item