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:
@ -1,5 +1,5 @@
|
||||
import {DOM} from 'angular2/src/platform/dom/dom_adapter';
|
||||
import {Injectable} from 'angular2/angular2';
|
||||
import {Injectable} from 'angular2/core';
|
||||
import {LocationStrategy, normalizeQueryParams} from './location_strategy';
|
||||
import {EventListener, History, Location} from 'angular2/src/facade/browser';
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import {LocationStrategy} from './location_strategy';
|
||||
import {EventEmitter, ObservableWrapper} from 'angular2/src/facade/async';
|
||||
import {Injectable, Inject} from 'angular2/angular2';
|
||||
import {Injectable, Inject} from 'angular2/core';
|
||||
|
||||
/**
|
||||
* `Location` is a service that applications can use to interact with a browser's URL.
|
||||
|
@ -1,5 +1,5 @@
|
||||
import {CONST_EXPR} from 'angular2/src/facade/lang';
|
||||
import {OpaqueToken} from 'angular2/angular2';
|
||||
import {OpaqueToken} from 'angular2/core';
|
||||
|
||||
/**
|
||||
* `LocationStrategy` is responsible for representing and reading route state
|
||||
|
@ -1,5 +1,5 @@
|
||||
import {DOM} from 'angular2/src/platform/dom/dom_adapter';
|
||||
import {Injectable, Inject} from 'angular2/angular2';
|
||||
import {Injectable, Inject} from 'angular2/core';
|
||||
import {EventListener, History, Location} from 'angular2/src/facade/browser';
|
||||
import {isBlank} from 'angular2/src/facade/lang';
|
||||
import {BaseException} from 'angular2/src/facade/exceptions';
|
||||
|
@ -1,4 +1,4 @@
|
||||
import {Directive} from 'angular2/angular2';
|
||||
import {Directive} from 'angular2/core';
|
||||
import {isString} from 'angular2/src/facade/lang';
|
||||
|
||||
import {Router} from './router';
|
||||
|
@ -12,7 +12,7 @@ import {
|
||||
Injector,
|
||||
provide,
|
||||
Dependency
|
||||
} from 'angular2/angular2';
|
||||
} from 'angular2/core';
|
||||
|
||||
import * as routerMod from './router';
|
||||
import {ComponentInstruction, RouteParams, RouteData} from './instruction';
|
||||
|
Reference in New Issue
Block a user