Tim Blasi
b6507e37ef
feat(dart/transform): Use angular2/platform/browser as bootstrap lib
...
Update the Angular 2 transformer to recognize
`package:angular2/platform/browser.dart` as the library which exports
the `bootstrap` function.
Update playground, examples, benchmarks, & tests to import bootstrap from
platform/browser.
Closes #7647
2016-03-21 00:58:17 +00:00
vsavkin
31b819e9c2
test: fix transformer tests
2016-02-02 10:21:40 -08:00
Tim Blasi
3e9b532409
fix(dart/transform): Handle edge cases in ReflectionRemover
...
Handle some cases which would previously result in broken code.
- Importing bootstrap.dart deferred
- Using combinators when importing bootstrap.dart
- Importing bootstrap.dart with a prefix
Closes #6749
2016-02-01 15:17:44 -08:00
Tim Blasi
566d3ede04
test(dart/transform): Update unit tests to expect code in <file>.template.dart
...
Closes #6711
2016-02-01 21:21:38 +00:00
Yegor Jbanov
ac85cbb28a
fix(web_workers): support @AngularEntrypoint in web workers
...
And enable transformers on all playground apps
Closes #6013
2016-01-13 17:55:01 +00:00
Tim Blasi
87449ab43c
feature(dart/transform): Inject initReflector
at @AngularEntrypoint
...
Detect the `@AngularEntrypoint` annotations on methods and/or
functions and add a call to `initReflector` there.
See #4865
2015-12-01 13:34:29 -08:00
Tim Blasi
46dd5fcbb0
refactor(transform): Remove reflection_entry_points parameter
...
Remove the now unnecessary `reflection_entry_points` parameter from the
Angular 2 transformer.
Support glob syntax for `entry_points`.
2015-08-31 13:02:29 -07:00
Jeff Cross
8ed22ce6e7
chore: update all import paths
2015-08-25 15:33:23 -07:00
Jeff Cross
88a5b8da0f
chore(transform): move transform module to modules_dart
...
The build/pure-packages.dart gulp task has also been updated to move the files into the angular2 tree.
Closes #3729
2015-08-24 03:39:07 +00:00