fix(api): remove DomRenderer from public API

Closes #4187
This commit is contained in:
Misko Hevery 2015-09-14 21:19:07 -07:00 committed by Miško Hevery
parent 61b6a475a6
commit 105db02e07
3 changed files with 1 additions and 28 deletions

View File

@ -1,7 +1,6 @@
// Public API for render
export {
RenderDirectiveMetadata,
DomRenderer,
RenderEventDispatcher,
Renderer,
RenderElementRef,

View File

@ -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',

View File

@ -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;
}
/**