Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion public/docs/_examples/lifecycle-hooks/dart/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html>

<head>
<title>Angular 2 Lifecycle Hooks</title>
<title>Angular Lifecycle Hooks</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css">
Expand Down
2 changes: 1 addition & 1 deletion public/docs/_examples/quickstart/dart/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# #docregion
name: angular2_quickstart
name: angular_quickstart
description: QuickStart
version: 0.0.1
environment:
Expand Down
2 changes: 1 addition & 1 deletion public/docs/_examples/quickstart/dart/web/main.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// #docregion
import 'package:angular2/platform/browser.dart';

import 'package:angular2_quickstart/app_component.dart';
import 'package:angular_quickstart/app_component.dart';

void main() {
bootstrap(AppComponent);
Expand Down
2 changes: 1 addition & 1 deletion public/docs/_examples/toh-1/dart/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# #docregion
name: angular2_tour_of_heroes
name: angular_tour_of_heroes
description: Tour of Heroes
version: 0.0.1
environment:
Expand Down
2 changes: 1 addition & 1 deletion public/docs/_examples/toh-1/dart/web/main.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// #docregion pt1
import 'package:angular2/platform/browser.dart';

import 'package:angular2_tour_of_heroes/app_component.dart';
import 'package:angular_tour_of_heroes/app_component.dart';

void main() {
bootstrap(AppComponent);
Expand Down
2 changes: 1 addition & 1 deletion public/docs/_examples/toh-2/dart/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# #docregion
name: angular2_tour_of_heroes
name: angular_tour_of_heroes
description: Tour of Heroes
version: 0.0.1
environment:
Expand Down
2 changes: 1 addition & 1 deletion public/docs/_examples/toh-2/dart/web/main.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:angular2/platform/browser.dart';

import 'package:angular2_tour_of_heroes/app_component.dart';
import 'package:angular_tour_of_heroes/app_component.dart';

void main() {
bootstrap(AppComponent);
Expand Down
2 changes: 1 addition & 1 deletion public/docs/_examples/toh-3/dart/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# #docregion
name: angular2_tour_of_heroes
name: angular_tour_of_heroes
description: Tour of Heroes
version: 0.0.1
environment:
Expand Down
2 changes: 1 addition & 1 deletion public/docs/_examples/toh-3/dart/web/main.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// #docregion pt1
import 'package:angular2/platform/browser.dart';

import 'package:angular2_tour_of_heroes/app_component.dart';
import 'package:angular_tour_of_heroes/app_component.dart';

main() {
bootstrap(AppComponent);
Expand Down
2 changes: 1 addition & 1 deletion public/docs/_examples/toh-4/dart/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# #docregion
name: angular2_tour_of_heroes
name: angular_tour_of_heroes
description: Tour of Heroes
version: 0.0.1
environment:
Expand Down
2 changes: 1 addition & 1 deletion public/docs/_examples/toh-4/dart/web/main.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:angular2/platform/browser.dart';

import 'package:angular2_tour_of_heroes/app_component.dart';
import 'package:angular_tour_of_heroes/app_component.dart';

void main() {
bootstrap(AppComponent);
Expand Down
2 changes: 1 addition & 1 deletion public/docs/_examples/toh-4/dart/web/main_1.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:angular2/platform/browser.dart';

import 'package:angular2_tour_of_heroes/app_component_1.dart';
import 'package:angular_tour_of_heroes/app_component_1.dart';

void main() {
bootstrap(AppComponent);
Expand Down
2 changes: 1 addition & 1 deletion public/docs/_examples/toh-5/dart/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# #docregion
name: angular2_tour_of_heroes
name: angular_tour_of_heroes
description: Tour of Heroes
version: 0.0.1
environment:
Expand Down
2 changes: 1 addition & 1 deletion public/docs/_examples/toh-5/dart/web/main.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:angular2/platform/browser.dart';

import 'package:angular2_tour_of_heroes/app_component.dart';
import 'package:angular_tour_of_heroes/app_component.dart';

void main() {
bootstrap(AppComponent);
Expand Down
8 changes: 4 additions & 4 deletions public/docs/_examples/toh-6/dart/lib/app_component.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
import 'package:angular2/core.dart';
import 'package:angular2/router.dart';

import 'package:angular2_tour_of_heroes/heroes_component.dart';
import 'package:angular2_tour_of_heroes/hero_service.dart';
import 'package:angular2_tour_of_heroes/dashboard_component.dart';
import 'package:angular_tour_of_heroes/heroes_component.dart';
import 'package:angular_tour_of_heroes/hero_service.dart';
import 'package:angular_tour_of_heroes/dashboard_component.dart';
// #docregion hero-detail-import
import 'package:angular2_tour_of_heroes/hero_detail_component.dart';
import 'package:angular_tour_of_heroes/hero_detail_component.dart';
// #enddocregion hero-detail-import

@Component(
Expand Down
2 changes: 1 addition & 1 deletion public/docs/_examples/toh-6/dart/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# #docregion , additions
name: angular2_tour_of_heroes
name: angular_tour_of_heroes
# #enddocregion additions
description: Tour of Heroes
version: 0.0.1
Expand Down
4 changes: 2 additions & 2 deletions public/docs/_examples/toh-6/dart/web/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
// #docregion , v1, v2
import 'package:angular2/core.dart';
import 'package:angular2/platform/browser.dart';
import 'package:angular2_tour_of_heroes/app_component.dart';
import 'package:angular_tour_of_heroes/app_component.dart';
// #enddocregion v1
import 'package:angular2_tour_of_heroes/in_memory_data_service.dart';
import 'package:angular_tour_of_heroes/in_memory_data_service.dart';
import 'package:http/http.dart';

void main() {
Expand Down
2 changes: 1 addition & 1 deletion public/docs/dart/latest/glossary.jade
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ block routing-component-defn
block append snake-case-defn
:marked
Library and file names are often spelled in snake_case. Examples include:
`angular2_tour_of_heroes` and `app_component.dart`.
`angular_tour_of_heroes` and `app_component.dart`.

block zone-defn
:marked
Expand Down
2 changes: 1 addition & 1 deletion public/docs/dart/latest/guide/architecture.jade
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ block includes

block angular-parts
:marked
Angular 2 for Dart is published as the `angular2` package, which
Angular for Dart is published as the `angular2` package, which
(like many other Dart packages) is available via the Pub tool.

block modules-in-dart
Expand Down
2 changes: 1 addition & 1 deletion public/docs/dart/latest/guide/dependency-injection.jade
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ block ctor-syntax
initializing properties simultaneously.

block injectable-not-always-needed-in-ts
//- The [Angular 2 Dart Transformer](https://github.com/angular/angular/wiki/Angular-2-Dart-Transformer)
//- The [Angular Dart Transformer](https://github.com/angular/angular/wiki/Angular-2-Dart-Transformer)
//- generates static code to replace the use of dart:mirrors. It requires that types be
//- identified as targets for static code generation. Generally this is achieved
//- by marking the class as @Injectable (though there are other mechanisms).
Expand Down
2 changes: 1 addition & 1 deletion public/docs/dart/latest/guide/server-communication.jade
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ block demos-list
block http-providers
:marked
Actually, it is unnecessary to include `BrowserClient` in the list of providers.
***But*** as is mentioned in the *Angular 2 Dart Transformer* [wiki page][ng2dtri],
***But*** as is mentioned in the *Angular Dart Transformer* [wiki page][ng2dtri],
the template compiler _generates_ dependency injection code, hence all the
identifiers used in DI have to be collected by the Angular transformer
so that the libraries containing these identifiers can be transformed.
Expand Down
4 changes: 2 additions & 2 deletions public/docs/dart/latest/quickstart.jade
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ block build-app
transformer wiki page</a>.

.l-sub-section#performance
h3 Performance, the transformer, and Angular 2 libraries
h3 Performance, the transformer, and Angular libraries
p.
When an app imports <code>bootstrap.dart</code>,
it also gets <code>dart:mirrors</code>,
Expand Down Expand Up @@ -164,7 +164,7 @@ block server-watching

block project-file-structure
.filetree
.file angular2_quickstart
.file angular_quickstart
.children
.file lib
.children
Expand Down
5 changes: 2 additions & 3 deletions public/docs/dart/latest/resources.jade
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// TODO: don't duplicate text from /docs/js/latest/resources.jade
// TODO: don't duplicate text from /docs/ts/latest/resources.jade
.l-main-section
h2 Victor Savkin's Blog Posts
ul
Expand All @@ -12,7 +12,7 @@
.l-main-section
h2 <span class="icon-play-circle-outline"></span> Videos

h4 Intro Vidoes
h4 Intro Videos
ul
li <a href="https://www.youtube.com/watch?v=uD6Okha_Yj0">Building a Todo App</a> by David East
li <a href="https://www.youtube.com/watch?v=4C4bmDOV5hk">Angular 2 Forms</a> by David East
Expand All @@ -33,7 +33,6 @@
.l-main-section
h2 <span class="icon-content-copy"></span> API Design Docs &amp; Notes
ul
li <a href="https://drive.google.com/folderview?id=0B7GYXx6a6d8QR3lTT1J3MEpRSlE&authuser=0&usp=drive_web#list">Best Practices</a>
li <a href="https://drive.google.com/open?id=0B7GYXx6a6d8QR3lTT1J3MEpRSlE&authuser=0">Best Practices</a>
li <a href="https://drive.google.com/open?id=0BxgtL8yFJbacUnUxc3l5aTZrbVk&authuser=0">API Design Docs</a>
li <a href="https://drive.google.com/open?id=0BxgtL8yFJbacMEZDc2NtWS1VZ1k&authuser=0">Meeting Notes</a>
Expand Down
4 changes: 2 additions & 2 deletions public/docs/dart/latest/tutorial/toh-pt1.jade
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ include ../_util-fns
TODO: Recommend stagehand?
-->

Copy the "QuickStart" code to a new folder and rename the folder `angular2_tour_of_heroes`.
Copy the "QuickStart" code to a new folder and rename the folder `angular_tour_of_heroes`.
We should have the following structure:

.filetree
.file angular2_tour_of_heroes
.file angular_tour_of_heroes
.children
.file lib
.children
Expand Down
2 changes: 1 addition & 1 deletion public/docs/dart/latest/tutorial/toh-pt2.jade
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ include ../_util-fns
If not, we’ll need to go back to Part 1 and figure out what we missed.

.filetree
.file angular2_tour_of_heroes
.file angular_tour_of_heroes
.children
.file lib
.children
Expand Down
4 changes: 2 additions & 2 deletions public/docs/dart/latest/tutorial/toh-pt3.jade
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ include ../_util-fns
Before we continue with our Tour of Heroes, let’s verify we have the following structure. If not, we’ll need to go back and follow the previous chapters.

.filetree
.file angular2_tour_of_heroes
.file angular_tour_of_heroes
.children
.file lib
.children
Expand Down Expand Up @@ -204,7 +204,7 @@ code-example(format=".").
Let’s verify that we have the following structure after all of our good refactoring in this chapter:

.filetree
.file angular2_tour_of_heroes
.file angular_tour_of_heroes
.children
.file lib
.children
Expand Down
4 changes: 2 additions & 2 deletions public/docs/dart/latest/tutorial/toh-pt4.jade
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ include ../_util-fns
If not, we’ll need to go back and follow the previous chapters.

.filetree
.file angular2_tour_of_heroes
.file angular_tour_of_heroes
.children
.file lib
.children
Expand Down Expand Up @@ -322,7 +322,7 @@ code-example(format="nocode").
Let’s verify that we have the following structure after all of our good refactoring in this chapter:

.filetree
.file angular2_tour_of_heroes
.file angular_tour_of_heroes
.children
.file lib
.children
Expand Down
4 changes: 2 additions & 2 deletions public/docs/dart/latest/tutorial/toh-pt5.jade
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ block includes

block intro-file-tree
.filetree
.file angular2_tour_of_heroes
.file angular_tour_of_heroes
.children
.file lib
.children
Expand Down Expand Up @@ -142,7 +142,7 @@ block router-link-active

block file-tree-end
.filetree
.file angular2_tour_of_heroes
.file angular_tour_of_heroes
.children
.file lib
.children
Expand Down
2 changes: 1 addition & 1 deletion public/docs/dart/latest/tutorial/toh-pt6.jade
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ block observable-transformers

block filetree
.filetree
.file angular2_tour_of_heroes
.file angular_tour_of_heroes
.children
.file lib
.children
Expand Down
2 changes: 1 addition & 1 deletion public/docs/index.jade
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@

h3 Dart

p: <a href="/docs/dart/latest">Angular 2 Dart - Latest Version</a>
p: <a href="/docs/dart/latest">Angular Dart - Latest Version</a>
10 changes: 5 additions & 5 deletions public/docs/ts/_cache/glossary.jade
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ block includes
- var _decoratorLink = '<a href="#' + _decorator + '">' + _decorator + '</a>'

:marked
Angular 2 has a vocabulary of its own.
Most Angular 2 terms are everyday English words
Angular has a vocabulary of its own.
Most Angular terms are everyday English words
with a specific meaning within the Angular system.

We have gathered here the most prominent terms
Expand Down Expand Up @@ -342,15 +342,15 @@ block includes

The latest approved version of JavaScript is
[ECMAScript 2016](http://www.ecma-international.org/ecma-262/7.0/)
(AKA "ES2016" or "ES7") and many Angular 2 developers will write their applications
(AKA "ES2016" or "ES7") and many Angular developers will write their applications
either in this version of the language or a dialect that strives to be
compatible with it such as [TypeScript](#typesScript).

Most modern browsers today only support the much older "ECMAScript 5" (AKA ES5) standard.
Applications written in ES2016, ES2015 or one of their dialects must be "[transpiled](#transpile)"
to ES5 JavaScript.

Angular 2 developers may choose to write in ES5 directly.
Angular developers may choose to write in ES5 directly.

:marked
## ES2015
Expand Down Expand Up @@ -741,7 +741,7 @@ a#snake-case
code completion, refactoring, and intelligent search). Many code editors
and IDEs support TypeScript either natively or with plugins.

TypeScript is the preferred language for Angular 2 development although
TypeScript is the preferred language for Angular development although
we are welcome to write in other JavaScript dialects such as [ES5](#es5).

Learn more about TypeScript on its [website](http://www.typescriptlang.org/).
Expand Down
6 changes: 3 additions & 3 deletions public/docs/ts/_cache/guide/architecture.jade
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ block includes
- var _at_angular = '@angular'

:marked
Angular 2 is a framework to help us build client applications in HTML and
Angular is a framework to help us build client applications in HTML and
either JavaScript or a language (like Dart or TypeScript) that compiles to JavaScript.

block angular-parts
Expand All @@ -27,7 +27,7 @@ figure
img(src="/resources/images/devguide/architecture/overview2.png" alt="overview" style="margin-left:-40px;" width="700")

:marked
The architecture diagram identifies the eight main building blocks of an Angular 2 application:
The architecture diagram identifies the eight main building blocks of an Angular application:

1. [Modules](#modules)
1. [Components](#components)
Expand Down Expand Up @@ -71,7 +71,7 @@ block modules-are-optional
Each chapter has plenty to offer after you steer clear of the `import` and `export` statements.

Find setup and organization clues in the JavaScript track (select it from the combo-box at the top of this page)
which demonstrates Angular 2 development with plain old JavaScript and no module system.
which demonstrates Angular development with plain old JavaScript and no module system.

- var _app_comp_filename = _docsFor == 'dart' ? 'app_component.dart' : 'app.component.ts';
:marked
Expand Down
4 changes: 2 additions & 2 deletions public/docs/ts/_cache/guide/component-styles.jade
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ block includes
include ../_util-fns

:marked
Angular 2 applications are styled with regular CSS. That means we can apply
Angular applications are styled with regular CSS. That means we can apply
everything we know about CSS stylesheets, selectors, rules, and media queries
to our Angular applications directly.

Expand All @@ -26,7 +26,7 @@ block includes
:marked
## Using Component Styles

For every Angular 2 component we write, we may define not only an HTML template,
For every Angular component we write, we may define not only an HTML template,
but also the CSS styles that go with that template,
specifying any selectors, rules, and media queries that we need.

Expand Down
Loading