Index: lib/src/static_initializer.dart |
diff --git a/lib/src/static_initializer.dart b/lib/src/static_initializer.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..dd23f8aa06490017b7e15756c805e767bedaaa3a |
--- /dev/null |
+++ b/lib/src/static_initializer.dart |
@@ -0,0 +1,13 @@ |
+// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
+// for details. All rights reserved. Use of this source code is governed by a |
+// BSD-style license that can be found in the LICENSE file. |
+ |
+/// Static logic for initializing web_components. This assumes the entire app |
+/// is reachable from the entry point. |
+library web_components.src.static_initializer; |
+ |
+import 'dart:async'; |
+import 'package:initialize/initialize.dart' as init; |
+ |
+Future run({List<Type> typeFilter, init.InitializerFilter customFilter}) => |
+ init.run(typeFilter: typeFilter, customFilter: customFilter); |