2015-07-22 10:18:04 -07:00
|
|
|
library angular2.application_static;
|
|
|
|
|
|
|
|
|
|
import 'dart:async';
|
|
|
|
|
import 'application_common.dart';
|
|
|
|
|
|
|
|
|
|
/// Starts an application from a root component.
|
|
|
|
|
///
|
|
|
|
|
/// See [commonBootstrap] for detailed documentation.
|
2015-07-27 17:26:28 -07:00
|
|
|
Future<ApplicationRef> bootstrapStatic(Type appComponentType,
|
2015-07-30 08:47:23 -07:00
|
|
|
[List componentInjectableBindings, void initReflector()]) {
|
|
|
|
|
if (initReflector != null) {
|
|
|
|
|
initReflector();
|
|
|
|
|
}
|
2015-07-22 17:15:38 -07:00
|
|
|
return commonBootstrap(appComponentType, componentInjectableBindings);
|
2015-07-22 10:18:04 -07:00
|
|
|
}
|