refactor(exception_handler): move ExceptionHandler into facade
This commit is contained in:
@@ -27,7 +27,7 @@ import {
|
||||
KeyValueDiffers,
|
||||
defaultKeyValueDiffers
|
||||
} from 'angular2/src/core/change_detection/change_detection';
|
||||
import {ExceptionHandler} from './exception_handler';
|
||||
import {ExceptionHandler} from 'angular2/src/core/facade/exception_handler';
|
||||
import {ViewLoader} from 'angular2/src/core/render/dom/compiler/view_loader';
|
||||
import {StyleUrlResolver} from 'angular2/src/core/render/dom/compiler/style_url_resolver';
|
||||
import {StyleInliner} from 'angular2/src/core/render/dom/compiler/style_inliner';
|
||||
|
||||
-2
@@ -1,4 +1,3 @@
|
||||
import {Injectable} from 'angular2/src/core/di';
|
||||
import {isPresent, isBlank, print, BaseException} from 'angular2/src/core/facade/lang';
|
||||
import {ListWrapper, isListLikeIterable} from 'angular2/src/core/facade/collection';
|
||||
|
||||
@@ -31,7 +30,6 @@ class _ArrayLogger {
|
||||
*
|
||||
* ```
|
||||
*/
|
||||
@Injectable()
|
||||
export class ExceptionHandler {
|
||||
constructor(private _logger: any, private _rethrowException: boolean = true) {}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import {bind} from 'angular2/src/core/di';
|
||||
import {ExceptionHandler} from './exception_handler';
|
||||
import {ExceptionHandler} from 'angular2/src/core/facade/exception_handler';
|
||||
import {DOM} from 'angular2/src/core/dom/dom_adapter';
|
||||
|
||||
export const EXCEPTION_BINDING =
|
||||
|
||||
Reference in New Issue
Block a user