fix(bootstrap): fix expressions containing bootstrap (fixes #3309)

This commit is contained in:
Yegor Jbanov
2015-07-30 08:47:23 -07:00
committed by yjbanov
parent eee2146735
commit 29095766e6
6 changed files with 70 additions and 10 deletions

View File

@ -7,6 +7,9 @@ import 'application_common.dart';
///
/// See [commonBootstrap] for detailed documentation.
Future<ApplicationRef> bootstrapStatic(Type appComponentType,
[List componentInjectableBindings]) {
[List componentInjectableBindings, void initReflector()]) {
if (initReflector != null) {
initReflector();
}
return commonBootstrap(appComponentType, componentInjectableBindings);
}