parent
61b6a475a6
commit
105db02e07
|
@ -1,7 +1,6 @@
|
|||
// Public API for render
|
||||
export {
|
||||
RenderDirectiveMetadata,
|
||||
DomRenderer,
|
||||
RenderEventDispatcher,
|
||||
Renderer,
|
||||
RenderElementRef,
|
||||
|
|
|
@ -334,29 +334,6 @@ const NG_API = [
|
|||
'DirectiveResolver',
|
||||
'DirectiveResolver.resolve',
|
||||
|
||||
'DomRenderer', // TODO: private
|
||||
'DomRenderer.animateNodeEnter',
|
||||
'DomRenderer.animateNodeLeave',
|
||||
'DomRenderer.animateNodesEnter',
|
||||
'DomRenderer.attachFragmentAfterElement',
|
||||
'DomRenderer.attachFragmentAfterFragment',
|
||||
'DomRenderer.constructor',
|
||||
'DomRenderer.createRootHostView',
|
||||
'DomRenderer.createView',
|
||||
'DomRenderer.dehydrateView',
|
||||
'DomRenderer.destroyView',
|
||||
'DomRenderer.detachFragment',
|
||||
'DomRenderer.getNativeElementSync',
|
||||
'DomRenderer.getRootNodes',
|
||||
'DomRenderer.hydrateView',
|
||||
'DomRenderer.invokeElementMethod',
|
||||
'DomRenderer.setElementAttribute',
|
||||
'DomRenderer.setElementClass',
|
||||
'DomRenderer.setElementProperty',
|
||||
'DomRenderer.setElementStyle',
|
||||
'DomRenderer.setEventDispatcher',
|
||||
'DomRenderer.setText',
|
||||
|
||||
'DynamicComponentLoader',
|
||||
'DynamicComponentLoader.loadAsRoot',
|
||||
'DynamicComponentLoader.loadIntoLocation',
|
||||
|
|
|
@ -14,7 +14,6 @@ import {
|
|||
View,
|
||||
ViewEncapsulation
|
||||
} from 'angular2/core';
|
||||
import {DomRenderer} from 'angular2/render';
|
||||
|
||||
import {ObservableWrapper, Promise, PromiseWrapper} from 'angular2/src/core/facade/async';
|
||||
import {isPresent, Type} from 'angular2/src/core/facade/lang';
|
||||
|
@ -37,11 +36,9 @@ import {KeyCodes} from 'angular2_material/src/core/key_codes';
|
|||
@Injectable()
|
||||
export class MdDialog {
|
||||
componentLoader: DynamicComponentLoader;
|
||||
domRenderer: DomRenderer;
|
||||
|
||||
constructor(loader: DynamicComponentLoader, domRenderer: DomRenderer) {
|
||||
constructor(loader: DynamicComponentLoader) {
|
||||
this.componentLoader = loader;
|
||||
this.domRenderer = domRenderer;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue