feat(di): Add the @Injectable annotation to Compiler

Mark `Compiler` and its dependencies as available to the `Injector`.
This commit is contained in:
Tim Blasi
2015-03-16 14:44:14 -07:00
committed by Misko Hevery
parent b656f63430
commit 57723e1354
18 changed files with 40 additions and 1 deletions
+2
View File
@@ -1,6 +1,8 @@
import {Injectable} from 'angular2/di';
import {isPresent, print} from 'angular2/src/facade/lang';
import {ListWrapper, isListLikeIterable} from 'angular2/src/facade/collection';
@Injectable()
export class ExceptionHandler {
call(error, stackTrace = null, reason = null) {
var longStackTrace = isListLikeIterable(stackTrace) ? ListWrapper.join(stackTrace, "\n\n") : stackTrace;