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

Unified Diff: lib/init.dart

Issue 1026153002: add initWebComponents (Closed) Base URL: git@github.com:dart-lang/web-components.git@master
Patch Set: code review updates Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/build/mirrors_remover.dart ('k') | lib/src/init.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/init.dart
diff --git a/test/foo/bar.dart b/lib/init.dart
similarity index 65%
copy from test/foo/bar.dart
copy to lib/init.dart
index 67845503e9d6cd6a39ba6ed5499b7239bdb827e5..1ebb1413f9023f4113e1c1616511af98477037f5 100644
--- a/test/foo/bar.dart
+++ b/lib/init.dart
@@ -1,7 +1,9 @@
// Copyright (c) 2015, 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.
-@HtmlImport('bar.html')
-library web_components.test.foo.bar;
+library web_components.init;
-import 'package:web_components/web_components.dart';
+import 'dart:async';
+import 'src/init.dart';
+
+Future main() => initWebComponents();
« no previous file with comments | « lib/build/mirrors_remover.dart ('k') | lib/src/init.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698