cleanup: removes the render and lifecycle_hooks modules
BREAKING CHANGE
Before
import {Renderer} from 'angular2/render';
After
import {Renderer} form 'angular2/core';
Closes #5367
This commit is contained in:
@@ -21,7 +21,7 @@ import {
|
||||
AfterContentChecked,
|
||||
AfterViewInit,
|
||||
AfterViewChecked
|
||||
} from 'angular2/lifecycle_hooks';
|
||||
} from 'angular2/core';
|
||||
import {Directive, Component, View, ViewMetadata} from 'angular2/src/core/metadata';
|
||||
|
||||
export function main() {
|
||||
|
||||
@@ -16,7 +16,7 @@ import {
|
||||
ComponentFixture
|
||||
} from 'angular2/testing_internal';
|
||||
|
||||
import {OnDestroy} from 'angular2/lifecycle_hooks';
|
||||
import {OnDestroy} from 'angular2/core';
|
||||
import {Injector, inspectElement} from 'angular2/core';
|
||||
import {NgIf} from 'angular2/common';
|
||||
import {By} from 'angular2/platform/browser';
|
||||
|
||||
@@ -37,7 +37,7 @@ import {
|
||||
ComponentMetadata,
|
||||
DirectiveMetadata
|
||||
} from 'angular2/src/core/metadata';
|
||||
import {OnDestroy} from 'angular2/lifecycle_hooks';
|
||||
import {OnDestroy} from 'angular2/core';
|
||||
import {provide, Injector, Provider, Optional, Inject, Injectable, Self, SkipSelf, InjectMetadata, Host, HostMetadata, SkipSelfMetadata} from 'angular2/core';
|
||||
import {ViewContainerRef, ViewContainerRef_} from 'angular2/src/core/linker/view_container_ref';
|
||||
import {TemplateRef, TemplateRef_} from 'angular2/src/core/linker/template_ref';
|
||||
|
||||
@@ -42,7 +42,7 @@ import {
|
||||
import {DirectiveResolver} from 'angular2/src/core/linker/directive_resolver';
|
||||
import {Component} from 'angular2/src/core/metadata';
|
||||
import {AppViewManagerUtils} from 'angular2/src/core/linker/view_manager_utils';
|
||||
import {RenderViewWithFragments} from 'angular2/render';
|
||||
import {RenderViewWithFragments} from 'angular2/core';
|
||||
|
||||
export function main() {
|
||||
// TODO(tbosch): add more tests here!
|
||||
|
||||
Reference in New Issue
Block a user