Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit f993315

Browse files
chalinkwalrath
authored andcommitted
chore(dart): complete the renaming of "Angular 2" to "Angular" (#2820)
Contributes to #2407 - Dropped the “2” in “Angular 2” and “angular2_*” where appropriate. - Did a partial sync of `_cache/guide/pipes.jade` - In quickstart, changed `Try changing the message to "Hello Angular 2!”` to `Try changing the message to "Hello Again Angular!”`.
1 parent d853a29 commit f993315

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+78
-79
lines changed

public/docs/_examples/lifecycle-hooks/dart/web/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<html>
44

55
<head>
6-
<title>Angular 2 Lifecycle Hooks</title>
6+
<title>Angular Lifecycle Hooks</title>
77
<meta charset="UTF-8">
88
<meta name="viewport" content="width=device-width, initial-scale=1">
99
<link rel="stylesheet" href="styles.css">

public/docs/_examples/quickstart/dart/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# #docregion
2-
name: angular2_quickstart
2+
name: angular_quickstart
33
description: QuickStart
44
version: 0.0.1
55
environment:

public/docs/_examples/quickstart/dart/web/main.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// #docregion
22
import 'package:angular2/platform/browser.dart';
33

4-
import 'package:angular2_quickstart/app_component.dart';
4+
import 'package:angular_quickstart/app_component.dart';
55

66
void main() {
77
bootstrap(AppComponent);

public/docs/_examples/toh-1/dart/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# #docregion
2-
name: angular2_tour_of_heroes
2+
name: angular_tour_of_heroes
33
description: Tour of Heroes
44
version: 0.0.1
55
environment:

public/docs/_examples/toh-1/dart/web/main.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// #docregion pt1
22
import 'package:angular2/platform/browser.dart';
33

4-
import 'package:angular2_tour_of_heroes/app_component.dart';
4+
import 'package:angular_tour_of_heroes/app_component.dart';
55

66
void main() {
77
bootstrap(AppComponent);

public/docs/_examples/toh-2/dart/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# #docregion
2-
name: angular2_tour_of_heroes
2+
name: angular_tour_of_heroes
33
description: Tour of Heroes
44
version: 0.0.1
55
environment:

public/docs/_examples/toh-2/dart/web/main.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import 'package:angular2/platform/browser.dart';
22

3-
import 'package:angular2_tour_of_heroes/app_component.dart';
3+
import 'package:angular_tour_of_heroes/app_component.dart';
44

55
void main() {
66
bootstrap(AppComponent);

public/docs/_examples/toh-3/dart/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# #docregion
2-
name: angular2_tour_of_heroes
2+
name: angular_tour_of_heroes
33
description: Tour of Heroes
44
version: 0.0.1
55
environment:

public/docs/_examples/toh-3/dart/web/main.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// #docregion pt1
22
import 'package:angular2/platform/browser.dart';
33

4-
import 'package:angular2_tour_of_heroes/app_component.dart';
4+
import 'package:angular_tour_of_heroes/app_component.dart';
55

66
main() {
77
bootstrap(AppComponent);

public/docs/_examples/toh-4/dart/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# #docregion
2-
name: angular2_tour_of_heroes
2+
name: angular_tour_of_heroes
33
description: Tour of Heroes
44
version: 0.0.1
55
environment:

public/docs/_examples/toh-4/dart/web/main.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import 'package:angular2/platform/browser.dart';
22

3-
import 'package:angular2_tour_of_heroes/app_component.dart';
3+
import 'package:angular_tour_of_heroes/app_component.dart';
44

55
void main() {
66
bootstrap(AppComponent);

public/docs/_examples/toh-4/dart/web/main_1.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import 'package:angular2/platform/browser.dart';
22

3-
import 'package:angular2_tour_of_heroes/app_component_1.dart';
3+
import 'package:angular_tour_of_heroes/app_component_1.dart';
44

55
void main() {
66
bootstrap(AppComponent);

public/docs/_examples/toh-5/dart/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# #docregion
2-
name: angular2_tour_of_heroes
2+
name: angular_tour_of_heroes
33
description: Tour of Heroes
44
version: 0.0.1
55
environment:

public/docs/_examples/toh-5/dart/web/main.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import 'package:angular2/platform/browser.dart';
22

3-
import 'package:angular2_tour_of_heroes/app_component.dart';
3+
import 'package:angular_tour_of_heroes/app_component.dart';
44

55
void main() {
66
bootstrap(AppComponent);

public/docs/_examples/toh-6/dart/lib/app_component.dart

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
import 'package:angular2/core.dart';
44
import 'package:angular2/router.dart';
55

6-
import 'package:angular2_tour_of_heroes/heroes_component.dart';
7-
import 'package:angular2_tour_of_heroes/hero_service.dart';
8-
import 'package:angular2_tour_of_heroes/dashboard_component.dart';
6+
import 'package:angular_tour_of_heroes/heroes_component.dart';
7+
import 'package:angular_tour_of_heroes/hero_service.dart';
8+
import 'package:angular_tour_of_heroes/dashboard_component.dart';
99
// #docregion hero-detail-import
10-
import 'package:angular2_tour_of_heroes/hero_detail_component.dart';
10+
import 'package:angular_tour_of_heroes/hero_detail_component.dart';
1111
// #enddocregion hero-detail-import
1212

1313
@Component(

public/docs/_examples/toh-6/dart/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# #docregion , additions
2-
name: angular2_tour_of_heroes
2+
name: angular_tour_of_heroes
33
# #enddocregion additions
44
description: Tour of Heroes
55
version: 0.0.1

public/docs/_examples/toh-6/dart/web/main.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
// #docregion , v1, v2
33
import 'package:angular2/core.dart';
44
import 'package:angular2/platform/browser.dart';
5-
import 'package:angular2_tour_of_heroes/app_component.dart';
5+
import 'package:angular_tour_of_heroes/app_component.dart';
66
// #enddocregion v1
7-
import 'package:angular2_tour_of_heroes/in_memory_data_service.dart';
7+
import 'package:angular_tour_of_heroes/in_memory_data_service.dart';
88
import 'package:http/http.dart';
99

1010
void main() {

public/docs/dart/latest/glossary.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ block routing-component-defn
5656
block append snake-case-defn
5757
:marked
5858
Library and file names are often spelled in snake_case. Examples include:
59-
`angular2_tour_of_heroes` and `app_component.dart`.
59+
`angular_tour_of_heroes` and `app_component.dart`.
6060

6161
block zone-defn
6262
:marked

public/docs/dart/latest/guide/architecture.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ block includes
1111

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

1717
block modules-in-dart

public/docs/dart/latest/guide/dependency-injection.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ block ctor-syntax
1111
initializing properties simultaneously.
1212

1313
block injectable-not-always-needed-in-ts
14-
//- The [Angular 2 Dart Transformer](https://github.com/angular/angular/wiki/Angular-2-Dart-Transformer)
14+
//- The [Angular Dart Transformer](https://github.com/angular/angular/wiki/Angular-2-Dart-Transformer)
1515
//- generates static code to replace the use of dart:mirrors. It requires that types be
1616
//- identified as targets for static code generation. Generally this is achieved
1717
//- by marking the class as @Injectable (though there are other mechanisms).

public/docs/dart/latest/guide/server-communication.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ block demos-list
1515
block http-providers
1616
:marked
1717
Actually, it is unnecessary to include `BrowserClient` in the list of providers.
18-
***But*** as is mentioned in the *Angular 2 Dart Transformer* [wiki page][ng2dtri],
18+
***But*** as is mentioned in the *Angular Dart Transformer* [wiki page][ng2dtri],
1919
the template compiler _generates_ dependency injection code, hence all the
2020
identifiers used in DI have to be collected by the Angular transformer
2121
so that the libraries containing these identifiers can be transformed.

public/docs/dart/latest/quickstart.jade

+2-2
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ block build-app
121121
transformer wiki page</a>.
122122

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

165165
block project-file-structure
166166
.filetree
167-
.file angular2_quickstart
167+
.file angular_quickstart
168168
.children
169169
.file lib
170170
.children

public/docs/dart/latest/resources.jade

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// TODO: don't duplicate text from /docs/js/latest/resources.jade
1+
// TODO: don't duplicate text from /docs/ts/latest/resources.jade
22
.l-main-section
33
h2 Victor Savkin's Blog Posts
44
ul
@@ -12,7 +12,7 @@
1212
.l-main-section
1313
h2 <span class="icon-play-circle-outline"></span> Videos
1414

15-
h4 Intro Vidoes
15+
h4 Intro Videos
1616
ul
1717
li <a href="https://www.youtube.com/watch?v=uD6Okha_Yj0">Building a Todo App</a> by David East
1818
li <a href="https://www.youtube.com/watch?v=4C4bmDOV5hk">Angular 2 Forms</a> by David East
@@ -33,7 +33,6 @@
3333
.l-main-section
3434
h2 <span class="icon-content-copy"></span> API Design Docs &amp; Notes
3535
ul
36-
li <a href="https://drive.google.com/folderview?id=0B7GYXx6a6d8QR3lTT1J3MEpRSlE&authuser=0&usp=drive_web#list">Best Practices</a>
3736
li <a href="https://drive.google.com/open?id=0B7GYXx6a6d8QR3lTT1J3MEpRSlE&authuser=0">Best Practices</a>
3837
li <a href="https://drive.google.com/open?id=0BxgtL8yFJbacUnUxc3l5aTZrbVk&authuser=0">API Design Docs</a>
3938
li <a href="https://drive.google.com/open?id=0BxgtL8yFJbacMEZDc2NtWS1VZ1k&authuser=0">Meeting Notes</a>

public/docs/dart/latest/tutorial/toh-pt1.jade

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ include ../_util-fns
1111
TODO: Recommend stagehand?
1212
-->
1313

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

1717
.filetree
18-
.file angular2_tour_of_heroes
18+
.file angular_tour_of_heroes
1919
.children
2020
.file lib
2121
.children

public/docs/dart/latest/tutorial/toh-pt2.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ include ../_util-fns
1919
If not, we’ll need to go back to Part 1 and figure out what we missed.
2020

2121
.filetree
22-
.file angular2_tour_of_heroes
22+
.file angular_tour_of_heroes
2323
.children
2424
.file lib
2525
.children

public/docs/dart/latest/tutorial/toh-pt3.jade

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ include ../_util-fns
1212
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.
1313

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

206206
.filetree
207-
.file angular2_tour_of_heroes
207+
.file angular_tour_of_heroes
208208
.children
209209
.file lib
210210
.children

public/docs/dart/latest/tutorial/toh-pt4.jade

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ include ../_util-fns
2323
If not, we’ll need to go back and follow the previous chapters.
2424

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

324324
.filetree
325-
.file angular2_tour_of_heroes
325+
.file angular_tour_of_heroes
326326
.children
327327
.file lib
328328
.children

public/docs/dart/latest/tutorial/toh-pt5.jade

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ block includes
99

1010
block intro-file-tree
1111
.filetree
12-
.file angular2_tour_of_heroes
12+
.file angular_tour_of_heroes
1313
.children
1414
.file lib
1515
.children
@@ -142,7 +142,7 @@ block router-link-active
142142

143143
block file-tree-end
144144
.filetree
145-
.file angular2_tour_of_heroes
145+
.file angular_tour_of_heroes
146146
.children
147147
.file lib
148148
.children

public/docs/dart/latest/tutorial/toh-pt6.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ block observable-transformers
121121

122122
block filetree
123123
.filetree
124-
.file angular2_tour_of_heroes
124+
.file angular_tour_of_heroes
125125
.children
126126
.file lib
127127
.children

public/docs/index.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010

1111
h3 Dart
1212

13-
p: <a href="/docs/dart/latest">Angular 2 Dart - Latest Version</a>
13+
p: <a href="/docs/dart/latest">Angular Dart - Latest Version</a>

public/docs/ts/_cache/glossary.jade

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ block includes
99
- var _decoratorLink = '<a href="#' + _decorator + '">' + _decorator + '</a>'
1010

1111
:marked
12-
Angular 2 has a vocabulary of its own.
13-
Most Angular 2 terms are everyday English words
12+
Angular has a vocabulary of its own.
13+
Most Angular terms are everyday English words
1414
with a specific meaning within the Angular system.
1515

1616
We have gathered here the most prominent terms
@@ -342,15 +342,15 @@ block includes
342342

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

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

353-
Angular 2 developers may choose to write in ES5 directly.
353+
Angular developers may choose to write in ES5 directly.
354354

355355
:marked
356356
## ES2015
@@ -741,7 +741,7 @@ a#snake-case
741741
code completion, refactoring, and intelligent search). Many code editors
742742
and IDEs support TypeScript either natively or with plugins.
743743

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

747747
Learn more about TypeScript on its [website](http://www.typescriptlang.org/).

public/docs/ts/_cache/guide/architecture.jade

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ block includes
44
- var _at_angular = '@angular'
55

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

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

2929
:marked
30-
The architecture diagram identifies the eight main building blocks of an Angular 2 application:
30+
The architecture diagram identifies the eight main building blocks of an Angular application:
3131

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

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

7676
- var _app_comp_filename = _docsFor == 'dart' ? 'app_component.dart' : 'app.component.ts';
7777
:marked

public/docs/ts/_cache/guide/component-styles.jade

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ block includes
22
include ../_util-fns
33

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

@@ -26,7 +26,7 @@ block includes
2626
:marked
2727
## Using Component Styles
2828

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

0 commit comments

Comments
 (0)