feat(dart/transform) Allow ctor stubs to be tree shaken

Change the method used to discover Directive annotated classes to ensure
that the Dart code can be tree shaken.

Closes #497

Closes $\x23736
This commit is contained in:
Tim Blasi
2015-02-19 12:00:09 -08:00
committed by Misko Hevery
parent 0c4fbfc8e2
commit fb49946160
20 changed files with 461 additions and 142 deletions
@@ -1,7 +1,8 @@
library web_foo;
import 'package:angular2/src/core/application.dart';
import 'bar.dart';
void main() {
new MyComponent('Things');
bootstrap(MyComponent);
}