OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 /// Static logic for initializing web_components. This assumes the entire app | 5 /// Static logic for initializing web_components. This assumes the entire app |
6 /// is reachable from the entry point. | 6 /// is reachable from the entry point. |
7 library web_components.src.static_initializer; | 7 library web_components.src.static_initializer; |
8 | 8 |
9 import 'dart:async'; | 9 import 'dart:async'; |
10 import 'package:initialize/initialize.dart' as init; | 10 import 'package:initialize/initialize.dart' as init; |
11 | 11 |
12 const bool deployMode = true; | 12 const bool deployMode = true; |
13 | 13 |
14 Future run({List<Type> typeFilter, init.InitializerFilter customFilter}) => | 14 Future run({List<Type> typeFilter, init.InitializerFilter customFilter}) => |
15 init.run(typeFilter: typeFilter, customFilter: customFilter); | 15 init.run(typeFilter: typeFilter, customFilter: customFilter); |
OLD | NEW |