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

Commit 8569479

Browse files
vikashvvermawardbell
authored andcommitted
docs: fix numerous typos in many doc files.
closes #1509
1 parent eb48a71 commit 8569479

File tree

18 files changed

+24
-24
lines changed

18 files changed

+24
-24
lines changed

public/docs/_examples/router-deprecated/ts/app/dialog.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Injectable } from '@angular/core';
33
/**
44
* Async modal dialog service
55
* DialogService makes this app easier to test by faking this service.
6-
* TODO: better modal implemenation that doesn't use window.confirm
6+
* TODO: better modal implementation that doesn't use window.confirm
77
*/
88
@Injectable()
99
export class DialogService {

public/docs/_examples/router/ts/app/dialog.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Injectable } from '@angular/core';
33
/**
44
* Async modal dialog service
55
* DialogService makes this app easier to test by faking this service.
6-
* TODO: better modal implemenation that doesn't use window.confirm
6+
* TODO: better modal implementation that doesn't use window.confirm
77
*/
88
@Injectable()
99
export class DialogService {

public/docs/_examples/style-guide/ts/09-01/app/heroes/shared/hero-button/hero-button.component.avoid.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { Component } from '@angular/core';
88
template: `<button>OK<button>`
99
})
1010
export class HeroButtonComponent {
11-
onInit() { // mispelled
11+
onInit() { // misspelled
1212
console.log('The component is initialized');
1313
}
1414
}

public/docs/_includes/styleguide/_aside.jade

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111

1212
h3 Adding an aside
1313

14-
aside.is-right Did you know that hipsum is a replacment for Lorem Ipsum? To find out more visit <a href="http://hipsum.co/">hipsum.co</a>
14+
aside.is-right Did you know that hipsum is a replacement for Lorem Ipsum? To find out more visit <a href="http://hipsum.co/">hipsum.co</a>
1515
p.
1616
Etsy artisan Thundercats, authentic sustainable bitters wolf roof party meditation 90's asymmetrical XOXO hoodie. Twee umami cray iPhone. Chillwave shabby chic tilde occupy sriracha squid Brooklyn street art. Selvage heirloom kogi American Apparel bicycle rights. Carles Etsy Truffaut mlkshk trust fund. Jean shorts fashion axe Williamsburg wolf cardigan beard, twee blog locavore organic. Cred skateboard dreamcatcher, taxidermy Bushwick actually aesthetic normcore fanny pack.
1717

1818

1919

2020
pre.prettyprint.linenums.lang-html
2121
code.
22-
aside.is-right Did you know that hipsum is a replacment for Lorem Ipsum? To find out more visit <a href="http://hipsum.co/">hipsum.co</a>
22+
aside.is-right Did you know that hipsum is a replacement for Lorem Ipsum? To find out more visit <a href="http://hipsum.co/">hipsum.co</a>
2323

2424
p.
2525
Etsy artisan Thundercats, authentic sustainable bitters

public/docs/_includes/styleguide/_code-examples.jade

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ include ../../../_includes/_util-fns
1212
:marked
1313
### Including a code example from the `_examples` folder
1414

15-
One of the design goals for this documention was that any code samples that appear within the documentation be 'testable'.
15+
One of the design goals for this documentation was that any code samples that appear within the documentation be 'testable'.
1616
In practice this means that a set of standalone testable examples exist somewhere in the same repository as the rest
1717
of the documentation. These examples will each typically consist of a collection of html, javascript and css files.
1818

@@ -130,7 +130,7 @@ include ../../../_includes/_util-fns
130130
Multiple `#docregion` tags may be defined on a single line as shown below. In addition, anytime a file contains multiple
131131
`#docregion` tags with the same name they will automatically be combined. Each of the individually tagged sections of the combined document
132132
will be separated from one another by a comment consisting of '. . .'. This default separator, known
133-
as 'plaster' can be overriden anywhere within the affected file via a `#docplaster` comment as shown below. This example creates
133+
as 'plaster' can be overridden anywhere within the affected file via a `#docplaster` comment as shown below. This example creates
134134
a separator that consists of `/* more code here */` in the output file.
135135

136136
code-example(format="linenums" language="js" escape="html").

public/docs/_includes/styleguide/_layouts.jade

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
header.showcase-header
33
h2 Basic Layouts
44
p.
5-
You will use the following layouts throughout your documenation
5+
You will use the following layouts throughout your documentation
66
to specify sections and sub-sections of content.
77

88
.showcase-content
@@ -23,4 +23,4 @@
2323
code-example(language="html" format="linenums").
2424
.l-sub-section
2525
h3 Sub Section Title
26-
p sub section content...
26+
p sub section content...

public/docs/_includes/styleguide/_tables.jade

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
header.showcase-header
33
h2 Tables
44
p.
5-
Tables can be used to present tablular data as it relates
5+
Tables can be used to present tabular data as it relates
66
to each other.
77

88
.showcase-content
@@ -37,4 +37,4 @@
3737
tr
3838
td Angular 1.3
3939
td Routing
40-
td fast
40+
td fast

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ code-example(format=".").
131131
.l-sub-section
132132
:marked
133133
We explain input properties in more detail [here](../guide/attribute-directives.html#why-input)
134-
where we also explain why *target* properties require this special treament and
134+
where we also explain why *target* properties require this special treatment and
135135
*source* properties do not.
136136
:marked
137137
There are a couple of ways we can declare that `hero` is an *input*.

public/docs/js/latest/guide/forms.jade

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ figure.image-display
489489
We just set a template local variable with the value of an `NgForm` directive.
490490
Why did that work? We didn't add the **[`NgForm`](../api/common/NgForm-directive.html) directive** explicitly.
491491

492-
Angular added it surreptiously, wrapping it around the `<form>` element
492+
Angular added it surreptitiously, wrapping it around the `<form>` element
493493

494494
The `NgForm` directive supplements the `form` element with additional features.
495495
It collects `Controls` (elements identified by an `ngControl` directive)
@@ -531,7 +531,7 @@ figure.image-display
531531
Re-run the application. The form opens in a valid state and the button is enabled.
532532

533533
Now delete the *Name*. We violate the "name required" rule which
534-
is duely noted in our error message as before. And now the Submit button is also disabled.
534+
is duly noted in our error message as before. And now the Submit button is also disabled.
535535

536536
Not impressed? Think about it for a moment. What would we have to do to
537537
wire the button's enable/disabled state to the form's validity without Angular's help?

public/docs/js/latest/quickstart.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ code-example(format="").
448448
True, most Angular applications run only in a browser and we'll call the bootstrap function from
449449
this library most of the time. It's pretty "core" if we're always writing for a browser.
450450

451-
But it is possible to load a component in a different enviroment.
451+
But it is possible to load a component in a different environment.
452452
We might load it on a mobile device with [Apache Cordova](https://cordova.apache.org/) or [NativeScript](https://www.nativescript.org/).
453453
We might wish to render the first page of our application on the server
454454
to improve launch performance or facilitate

public/docs/ts/latest/cookbook/set-document-title.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ figure.image-display
8181
We generally recommended providing application-wide services in the root application component, `AppComponent`.
8282

8383
Here we recommend registering the title service during bootstrapping,
84-
a location we reserve for configuring the runtime Angular enviroment.
84+
a location we reserve for configuring the runtime Angular environment.
8585

8686
That's exactly what we're doing.
8787
The `Title` service is part of the Angular *browser platform*.

public/docs/ts/latest/glossary.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ include _util-fns
336336
## ECMAScript 2015
337337
.l-sub-section
338338
:marked
339-
The lastest released version of JavaScript,
339+
The latest released version of JavaScript,
340340
[ECMAScript 2015](http://www.ecma-international.org/ecma-262/6.0/)
341341
(AKA "ES2015" or "ES6")
342342
:marked

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ include ../_util-fns
4040
We didn't care about `Engine` constructor parameters when we first wrote `Car`.
4141
We don't really care about them now.
4242
But we'll *have* to start caring because
43-
when the definion of `Engine` changes, our `Car` class must change.
43+
when the definition of `Engine` changes, our `Car` class must change.
4444
That makes `Car` brittle.
4545

4646
What if we want to put a different brand of tires on our `Car`? Too bad.

public/docs/ts/latest/guide/forms.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ figure.image-display
601601
Re-run the application. The form opens in a valid state and the button is enabled.
602602

603603
Now delete the *Name*. We violate the "name required" rule which
604-
is duely noted in our error message as before. And now the Submit button is also disabled.
604+
is duly noted in our error message as before. And now the Submit button is also disabled.
605605

606606
Not impressed? Think about it for a moment. What would we have to do to
607607
wire the button's enable/disabled state to the form's validity without Angular's help?

public/docs/ts/latest/guide/npm-packages.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ a(id="dependencies")
5555
## *dependencies*
5656
There are three package categories in the `dependencies` section of the application `package.json`:
5757

58-
* ***Features*** - Feature packages provide our application with framework and utility capabilites.
58+
* ***Features*** - Feature packages provide our application with framework and utility capabilities.
5959

6060
* ***Polyfills*** - Polyfills plug gaps in the browser's JavaScript implementation.
6161

public/docs/ts/latest/guide/webpack.jade

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ a(id="common-configuration")
218218
But most of our `import` statements won't mention the extension at all.
219219
So we tell Webpack to _resolve_ module file requests by looking for matching files with
220220

221-
* an explicit extention (signified by the empty extension string, `''`) or
221+
* an explicit extension (signified by the empty extension string, `''`) or
222222
* `.js` extension (for regular JavaScript files and pre-compiled TypeScript files) or
223223
* `.ts` extension.
224224

@@ -306,7 +306,7 @@ a(id="development-configuration")
306306
Our CSS are buried inside our Javascript bundles by default. The `ExtractTextPlugin` extracts them into
307307
external `.css` files that the `HtmlWebpackPlugin` inscribes as &lt;link&gt; tags into the `index.html`.
308308

309-
Refer to the Webpack documentation for details on these and other configuation options in this file
309+
Refer to the Webpack documentation for details on these and other configuration options in this file
310310

311311
Grab the app code at the end of this guide and try:
312312

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ code-example(format=".").
134134
.l-sub-section
135135
:marked
136136
We explain input properties in more detail [here](../guide/attribute-directives.html#why-input)
137-
where we also explain why *target* properties require this special treament and
137+
where we also explain why *target* properties require this special treatment and
138138
*source* properties do not.
139139
:marked
140140
There are a couple of ways we can declare that `hero` is an *input*.

tools/doc-shredder/doc-shredder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ var createShredMapPackage = function(mapOptions) {
198198
.config(function(readFilesProcessor, extractPathsReader ) {
199199
readFilesProcessor.fileReaders = [ extractPathsReader];
200200
})
201-
// default configs - may be overriden
201+
// default configs - may be overridden
202202
.config(function(readFilesProcessor) {
203203
// Specify the base path used when resolving relative paths to source and output files
204204
readFilesProcessor.basePath = '/';

0 commit comments

Comments
 (0)