fix(api): remove UNDEFINED
This commit is contained in:
parent
f7d46e7159
commit
6db9f9013d
|
@ -13,7 +13,6 @@ import {
|
||||||
Injector,
|
Injector,
|
||||||
ProtoInjector,
|
ProtoInjector,
|
||||||
Visibility,
|
Visibility,
|
||||||
UNDEFINED,
|
|
||||||
Key,
|
Key,
|
||||||
Dependency,
|
Dependency,
|
||||||
bind,
|
bind,
|
||||||
|
@ -25,6 +24,7 @@ import {
|
||||||
resolveForwardRef,
|
resolveForwardRef,
|
||||||
DependencyProvider
|
DependencyProvider
|
||||||
} from 'angular2/src/core/di';
|
} from 'angular2/src/core/di';
|
||||||
|
import {UNDEFINED} from 'angular2/src/core/di/injector';
|
||||||
import {
|
import {
|
||||||
InjectorInlineStrategy,
|
InjectorInlineStrategy,
|
||||||
InjectorDynamicStrategy,
|
InjectorDynamicStrategy,
|
||||||
|
|
|
@ -23,8 +23,7 @@ export {
|
||||||
ProtoInjector,
|
ProtoInjector,
|
||||||
BindingWithVisibility,
|
BindingWithVisibility,
|
||||||
DependencyProvider,
|
DependencyProvider,
|
||||||
Visibility,
|
Visibility
|
||||||
UNDEFINED
|
|
||||||
} from './di/injector';
|
} from './di/injector';
|
||||||
export {
|
export {
|
||||||
Binding,
|
Binding,
|
||||||
|
|
|
@ -5,7 +5,7 @@ import {BaseException, WrappedException} from 'angular2/src/core/facade/exceptio
|
||||||
|
|
||||||
import {Directive, Attribute} from 'angular2/src/core/metadata';
|
import {Directive, Attribute} from 'angular2/src/core/metadata';
|
||||||
import {DynamicComponentLoader, ComponentRef, ElementRef} from 'angular2/src/core/compiler';
|
import {DynamicComponentLoader, ComponentRef, ElementRef} from 'angular2/src/core/compiler';
|
||||||
import {Injector, bind, Dependency, UNDEFINED} from 'angular2/src/core/di';
|
import {Injector, bind, Dependency} from 'angular2/src/core/di';
|
||||||
|
|
||||||
import * as routerMod from './router';
|
import * as routerMod from './router';
|
||||||
import {ComponentInstruction, RouteParams} from './instruction';
|
import {ComponentInstruction, RouteParams} from './instruction';
|
||||||
|
|
|
@ -848,8 +848,6 @@ const NG_API = [
|
||||||
'TypeLiteral',
|
'TypeLiteral',
|
||||||
'TypeLiteral.type',
|
'TypeLiteral.type',
|
||||||
|
|
||||||
'UNDEFINED', // TODO: private
|
|
||||||
|
|
||||||
'UpperCasePipe',
|
'UpperCasePipe',
|
||||||
'UpperCasePipe.transform',
|
'UpperCasePipe.transform',
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue