cleanup(tooling): move tooling to the browser platform and rename profile into instrumentation
BREAKING CHANGE Before import * as p from 'angular2/profile'; import * as t from 'angular2/tools'; After import * as p from 'angular2/instrumentation'; import * as t from 'angular2/platform/browser';
This commit is contained in:
@@ -19,7 +19,7 @@ import {
|
||||
import {OnDestroy} from 'angular2/core';
|
||||
import {Injector, inspectElement} from 'angular2/core';
|
||||
import {NgIf} from 'angular2/common';
|
||||
import {By} from 'angular2/platform/browser';
|
||||
import {By} from 'angular2/platform/common_dom';
|
||||
import {Component, View, ViewMetadata} from 'angular2/src/core/metadata';
|
||||
import {DynamicComponentLoader} from 'angular2/src/core/linker/dynamic_component_loader';
|
||||
import {ElementRef} from 'angular2/src/core/linker/element_ref';
|
||||
|
||||
@@ -36,7 +36,7 @@ import {
|
||||
ViewEncapsulation,
|
||||
ViewMetadata
|
||||
} from 'angular2/core';
|
||||
import {By} from 'angular2/platform/browser';
|
||||
import {By} from 'angular2/platform/common_dom';
|
||||
|
||||
export function main() {
|
||||
describe('projection', () => {
|
||||
|
||||
@@ -36,10 +36,8 @@ import {
|
||||
} from 'angular2/core';
|
||||
import {NgIf, NgFor} from 'angular2/common';
|
||||
import {asNativeElements} from 'angular2/core';
|
||||
import {BrowserDomAdapter} from 'angular2/src/platform/browser/browser_adapter';
|
||||
|
||||
export function main() {
|
||||
BrowserDomAdapter.makeCurrent();
|
||||
describe('Query API', () => {
|
||||
describe("querying by directive type", () => {
|
||||
it('should contain all direct child directives in the light dom (constructor)',
|
||||
|
||||
Reference in New Issue
Block a user