chore(imports): don't import ExceptionHandler from facade (#10620)

This lets us skip src/facade/exception* when compiling modules other than core.
It prevents having many conflicting declarations
This commit is contained in:
Alex Eagle
2016-08-10 15:55:18 -07:00
committed by vikerman
parent 6db27153ef
commit 6f4ee6101c
64 changed files with 110 additions and 101 deletions

View File

@ -7,7 +7,7 @@
*/
import {XHR} from '@angular/compiler';
import {BaseException} from '../facade/exceptions';
import {BaseException} from '@angular/core';
import {global} from '../facade/lang';
/**

View File

@ -7,12 +7,11 @@
*/
import {UrlResolver, XHR} from '@angular/compiler';
import {Component} from '@angular/core';
import {BaseException, Component} from '@angular/core';
import {TestBed, TestComponentBuilder, fakeAsync, flushMicrotasks, tick} from '@angular/core/testing';
import {AsyncTestCompleter, beforeEach, beforeEachProviders, ddescribe, describe, iit, inject, it, xit} from '@angular/core/testing/testing_internal';
import {expect} from '@angular/platform-browser/testing/matchers';
import {BaseException} from '../../src/facade/exceptions';
import {CachedXHR} from '../../src/xhr/xhr_cache';
import {setTemplateCache} from './xhr_cache_setter';