fix: misc typos in three files (#3463)

This commit is contained in:
Tay Yang Shun 2017-04-02 02:38:49 +08:00 committed by Ward Bell
parent 6f17693022
commit 6fa6a1d328
3 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
// this tsconfig is used for protractor tests // this tsconfig is used for protractor tests
// see _boilerplate/tsconfig.json for the the tsconfig used in examples // see _boilerplate/tsconfig.json for the tsconfig used in examples
{ {
"compilerOptions": { "compilerOptions": {
"target": "es6", "target": "es6",

View File

@ -259,7 +259,7 @@ h1 Providing HTTP Services
calling `JSON.stringify`. The body content type calling `JSON.stringify`. The body content type
(`application/json`) is identified in the request header. (`application/json`) is identified in the request header.
Refresh the browser, change a hero name, save your change, Refresh the browser, change a hero name, save your change,
and click the browser Back button. Changes should now persist. and click the browser Back button. Changes should now persist.
.l-main-section .l-main-section
@ -400,7 +400,7 @@ h1 Providing HTTP Services
Also, add styles for the new component. Also, add styles for the new component.
+makeExample('toh-6/ts/src/app/hero-search.component.css', null, 'src/app/hero-search.component.css') +makeExample('toh-6/ts/src/app/hero-search.component.css', null, 'src/app/hero-search.component.css')
:marked :marked
As the user types in the search box, a *keyup* event binding calls the component's `search()` As the user types in the search box, a *keyup* event binding calls the component's `search()`
method with the new search box value. method with the new search box value.
As expected, the `*ngFor` repeats hero objects from the component's `heroes` property. As expected, the `*ngFor` repeats hero objects from the component's `heroes` property.

View File

@ -3,7 +3,7 @@
* *
* @requires codeTab Directive * @requires codeTab Directive
* *
* Invidiual panes displayed in the the * Individual panes displayed in the
* codeTab elements * codeTab elements
*/ */
@ -30,9 +30,9 @@ angularIO.directive('codePane', function() {
return function(scope, element, attrs, controller) { return function(scope, element, attrs, controller) {
scope.name = attrs.name; scope.name = attrs.name;
//ADD PANE TO CONTROLLER // ADD PANE TO CONTROLLER
controller.addPane(scope); controller.addPane(scope);
}; };
} }
}; };
}); });