docs(di): fix links di docs

This commit is contained in:
vsavkin 2015-10-11 14:42:15 -07:00
parent 35878c559f
commit 52ebb8f0dd
3 changed files with 5 additions and 5 deletions

View File

@ -195,7 +195,7 @@ export class InvalidProviderError extends BaseException {
* expect(() => Injector.resolveAndCreate([A])).toThrowError(); * expect(() => Injector.resolveAndCreate([A])).toThrowError();
* ``` * ```
* *
* This error is also thrown when the class not marked with {@link @Injectable} has parameter types. * This error is also thrown when the class not marked with {@link Injectable} has parameter types.
* *
* ```typescript * ```typescript
* class B {} * class B {}

View File

@ -457,7 +457,7 @@ export class Injector {
* }); * });
* ``` * ```
* *
* See {@link fromResolvedProviders} for more info. * See {@link Injector#fromResolvedProviders} for more info.
*/ */
static resolve(providers: Array<Type | Provider | any[]>): ResolvedProvider[] { static resolve(providers: Array<Type | Provider | any[]>): ResolvedProvider[] {
return resolveProviders(providers); return resolveProviders(providers);
@ -487,7 +487,7 @@ export class Injector {
* *
* This function is slower than the corresponding `fromResolvedProviders` * This function is slower than the corresponding `fromResolvedProviders`
* because it needs to resolve the passed-in providers first. * because it needs to resolve the passed-in providers first.
* See {@link resolve} and {@link fromResolvedProviders}. * See {@link Injector#resolve} and {@link Injector#fromResolvedProviders}.
*/ */
static resolveAndCreate(providers: Array<Type | Provider | any[]>): Injector { static resolveAndCreate(providers: Array<Type | Provider | any[]>): Injector {
var resolvedProviders = Injector.resolve(providers); var resolvedProviders = Injector.resolve(providers);
@ -658,7 +658,7 @@ export class Injector {
* *
* This function is slower than the corresponding `createChildFromResolved` * This function is slower than the corresponding `createChildFromResolved`
* because it needs to resolve the passed-in providers first. * because it needs to resolve the passed-in providers first.
* See {@link resolve} and {@link createChildFromResolved}. * See {@link Injector#resolve} and {@link Injector#createChildFromResolved}.
*/ */
resolveAndCreateChild(providers: Array<Type | Provider | any[]>): Injector { resolveAndCreateChild(providers: Array<Type | Provider | any[]>): Injector {
var resolvedProviders = Injector.resolve(providers); var resolvedProviders = Injector.resolve(providers);

View File

@ -57,7 +57,7 @@ const _EMPTY_LIST = CONST_EXPR([]);
@CONST() @CONST()
export class Provider { export class Provider {
/** /**
* Token used when retrieving this provider. Usually, it is a type {@link `Type`}. * Token used when retrieving this provider. Usually, it is a type {@link Type}.
*/ */
token; token;