Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(568)

Side by Side Diff: packages/web_components/lib/src/init.dart

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 library web_components.src.init; 4 library web_components.src.init;
5 5
6 import 'dart:async'; 6 import 'dart:async';
7 import 'package:initialize/initialize.dart' show InitializerFilter; 7 import 'package:initialize/initialize.dart' show InitializerFilter;
8 import 'package:web_components/web_components.dart'; 8 import 'package:web_components/web_components.dart';
9 import 'mirror_initializer.dart' as init; 9 import 'mirror_initializer.dart' as init;
10 export 'mirror_initializer.dart' show deployMode; 10 export 'mirror_initializer.dart' show deployMode;
(...skipping 11 matching lines...) Expand all
22 bool initAll: true}) { 22 bool initAll: true}) {
23 if (typeFilter != null || customFilter != null) { 23 if (typeFilter != null || customFilter != null) {
24 return init.run(typeFilter: typeFilter, customFilter: customFilter); 24 return init.run(typeFilter: typeFilter, customFilter: customFilter);
25 } else { 25 } else {
26 return init 26 return init
27 .run(typeFilter: [HtmlImport]) 27 .run(typeFilter: [HtmlImport])
28 .then((_) => init.run(typeFilter: [CustomElement, CustomElementProxy])) 28 .then((_) => init.run(typeFilter: [CustomElement, CustomElementProxy]))
29 .then((_) => initAll ? init.run() : null); 29 .then((_) => initAll ? init.run() : null);
30 } 30 }
31 } 31 }
OLDNEW
« no previous file with comments | « packages/web_components/lib/src/custom_element.dart ('k') | packages/web_components/lib/src/mirror_initializer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698