parent
335c1ab37f
commit
9be9e466b1
|
@ -57,7 +57,7 @@ export class GithubTeams {
|
||||||
/**
|
/**
|
||||||
* Check whether the given username is a member of the teams specified by the team slugs.
|
* Check whether the given username is a member of the teams specified by the team slugs.
|
||||||
* @param username The username to check for in the teams.
|
* @param username The username to check for in the teams.
|
||||||
* @param teamSlugs A collection of slugs that represent the teams to check for the the username.
|
* @param teamSlugs A collection of slugs that represent the teams to check for the username.
|
||||||
* @returns a Promise that resolves to `true` if the usernane is a member of at least one of the specified teams.
|
* @returns a Promise that resolves to `true` if the usernane is a member of at least one of the specified teams.
|
||||||
*/
|
*/
|
||||||
public async isMemberBySlug(username: string, teamSlugs: string[]): Promise<boolean> {
|
public async isMemberBySlug(username: string, teamSlugs: string[]): Promise<boolean> {
|
||||||
|
|
|
@ -45,7 +45,7 @@ In most cases, the target name is the name of a property, even when it appears t
|
||||||
In this example, `src` is the name of the `<img>` element property.
|
In this example, `src` is the name of the `<img>` element property.
|
||||||
|
|
||||||
The brackets, `[]`, cause Angular to evaluate the right-hand side of the assignment as a dynamic expression.
|
The brackets, `[]`, cause Angular to evaluate the right-hand side of the assignment as a dynamic expression.
|
||||||
Without the brackets, Angular treats the the right-hand side as a string literal and sets the property to that static value.
|
Without the brackets, Angular treats the right-hand side as a string literal and sets the property to that static value.
|
||||||
|
|
||||||
<code-example path="property-binding/src/app/app.component.html" region="no-evaluation" header="src/app.component.html"></code-example>
|
<code-example path="property-binding/src/app/app.component.html" region="no-evaluation" header="src/app.component.html"></code-example>
|
||||||
|
|
||||||
|
|
|
@ -2440,7 +2440,7 @@ Note the following three important points:
|
||||||
The `CrisisDetailResolverService` doesn't inherit from a base class.
|
The `CrisisDetailResolverService` doesn't inherit from a base class.
|
||||||
The router looks for that method and calls it if found.
|
The router looks for that method and calls it if found.
|
||||||
|
|
||||||
1. The router calls the resolver in any case where the the user could navigate away so you don't have to code for each use case.
|
1. The router calls the resolver in any case where the user could navigate away so you don't have to code for each use case.
|
||||||
|
|
||||||
1. Returning an empty `Observable` in at least one resolver will cancel navigation.
|
1. Returning an empty `Observable` in at least one resolver will cancel navigation.
|
||||||
|
|
||||||
|
|
|
@ -194,7 +194,7 @@ describe('ElementsLoader', () => {
|
||||||
expect(definedSpy).not.toHaveBeenCalled();
|
expect(definedSpy).not.toHaveBeenCalled();
|
||||||
}));
|
}));
|
||||||
|
|
||||||
it('should fail if defining the the custom element fails', fakeAsync(() => {
|
it('should fail if defining the custom element fails', fakeAsync(() => {
|
||||||
let state = 'pending';
|
let state = 'pending';
|
||||||
elementsLoader.loadCustomElement('element-b-selector').catch(e => state = `rejected: ${e}`);
|
elementsLoader.loadCustomElement('element-b-selector').catch(e => state = `rejected: ${e}`);
|
||||||
flushMicrotasks();
|
flushMicrotasks();
|
||||||
|
|
|
@ -93,7 +93,7 @@ describe('SelectComponent', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
host.options = options;
|
host.options = options;
|
||||||
host.showSymbol = true;
|
host.showSymbol = true;
|
||||||
getButton().click(); // ensure the the options are visible
|
getButton().click(); // ensure the options are visible
|
||||||
fixture.detectChanges();
|
fixture.detectChanges();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ Any necessary changes to boilerplate files will be done automatically through mi
|
||||||
> You have to make these changes (if any) manually.
|
> You have to make these changes (if any) manually.
|
||||||
> Again, the [angular-cli-diff](https://github.com/cexbrayat/angular-cli-diff) repo can be a useful resource for discovering changes between versions.
|
> Again, the [angular-cli-diff](https://github.com/cexbrayat/angular-cli-diff) repo can be a useful resource for discovering changes between versions.
|
||||||
|
|
||||||
- In the [shared/boilerplate/cli/](./shared/boilerplate/cli) directory, run the following commands to migrate the the project to the current versions of Angular CLI and the Angular framework (updated in previous steps):
|
- In the [shared/boilerplate/cli/](./shared/boilerplate/cli) directory, run the following commands to migrate the project to the current versions of Angular CLI and the Angular framework (updated in previous steps):
|
||||||
```sh
|
```sh
|
||||||
# Ensure dependencies are installed.
|
# Ensure dependencies are installed.
|
||||||
yarn install
|
yarn install
|
||||||
|
|
Loading…
Reference in New Issue