fix: misc typos in three files (#3463)
This commit is contained in:
parent
6f17693022
commit
6fa6a1d328
|
@ -1,5 +1,5 @@
|
|||
// 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": {
|
||||
"target": "es6",
|
||||
|
|
|
@ -259,7 +259,7 @@ h1 Providing HTTP Services
|
|||
calling `JSON.stringify`. The body content type
|
||||
(`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.
|
||||
|
||||
.l-main-section
|
||||
|
@ -400,7 +400,7 @@ h1 Providing HTTP Services
|
|||
Also, add styles for the new component.
|
||||
+makeExample('toh-6/ts/src/app/hero-search.component.css', null, 'src/app/hero-search.component.css')
|
||||
: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.
|
||||
|
||||
As expected, the `*ngFor` repeats hero objects from the component's `heroes` property.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* @requires codeTab Directive
|
||||
*
|
||||
* Invidiual panes displayed in the the
|
||||
* Individual panes displayed in the
|
||||
* codeTab elements
|
||||
*/
|
||||
|
||||
|
@ -30,9 +30,9 @@ angularIO.directive('codePane', function() {
|
|||
return function(scope, element, attrs, controller) {
|
||||
scope.name = attrs.name;
|
||||
|
||||
//ADD PANE TO CONTROLLER
|
||||
// ADD PANE TO CONTROLLER
|
||||
controller.addPane(scope);
|
||||
};
|
||||
}
|
||||
};
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue