2015-11-17 18:24:36 -05:00
|
|
|
/**
|
refactor(Location): out of router and into platform/common
closes https://github.com/angular/angular/issues/4943
BREAKING CHANGE:
`Location` and other related providers have been moved out of `router` and into `platform/common`. `BrowserPlatformLocation` is not meant to be used directly however advanced configurations may use it via the following import change.
Before:
```
import {
PlatformLocation,
Location,
LocationStrategy,
HashLocationStrategy,
PathLocationStrategy,
APP_BASE_HREF}
from 'angular2/router';
import {BrowserPlatformLocation} from 'angular2/src/router/location/browser_platform_location';
```
After:
```
import {
PlatformLocation,
Location,
LocationStrategy,
HashLocationStrategy,
PathLocationStrategy,
APP_BASE_HREF}
from 'angular2/platform/common';
import {BrowserPlatformLocation} from 'angular2/src/platform/browser/location/browser_platform_location';
```
Closes #7962
2016-04-08 03:31:20 -04:00
|
|
|
* This is a set of DOM related classes and objects that can be used both in the browser and on the
|
|
|
|
* server.
|
2015-11-17 18:24:36 -05:00
|
|
|
*/
|
2015-11-19 18:09:34 -05:00
|
|
|
export {DOM, setRootDomAdapter, DomAdapter} from 'angular2/src/platform/dom/dom_adapter';
|
2015-11-17 18:24:36 -05:00
|
|
|
export {DomRenderer} from 'angular2/src/platform/dom/dom_renderer';
|
|
|
|
export {DOCUMENT} from 'angular2/src/platform/dom/dom_tokens';
|
|
|
|
export {SharedStylesHost, DomSharedStylesHost} from 'angular2/src/platform/dom/shared_styles_host';
|
2015-11-23 13:18:04 -05:00
|
|
|
export {DomEventsPlugin} from 'angular2/src/platform/dom/events/dom_events';
|
2016-04-12 12:40:37 -04:00
|
|
|
export {
|
|
|
|
EVENT_MANAGER_PLUGINS,
|
|
|
|
EventManager,
|
|
|
|
EventManagerPlugin
|
|
|
|
} from 'angular2/src/platform/dom/events/event_manager';
|
2015-11-23 13:18:04 -05:00
|
|
|
export * from 'angular2/src/platform/dom/debug/by';
|
2016-01-14 00:35:21 -05:00
|
|
|
export * from 'angular2/src/platform/dom/debug/ng_probe';
|