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

Unified Diff: dart/samples/webcomponents/game_of_life/game_of_life.dart

Issue 10918082: adding game_of_life sample (Closed) Base URL: git@github.com:samhopkins/bleeding_edge.git@master
Patch Set: addressing sigmund's remarks Created 8 years, 3 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
Index: dart/samples/webcomponents/game_of_life/game_of_life.dart
diff --git a/dart/samples/isolate_html/isolate_sample.dart b/dart/samples/webcomponents/game_of_life/game_of_life.dart
similarity index 60%
copy from dart/samples/isolate_html/isolate_sample.dart
copy to dart/samples/webcomponents/game_of_life/game_of_life.dart
index d63f9afb30c578390c629dd786e1ad7f5c197cff..7c200c37f5b07bc40e8d20d261127f7901070731 100644
--- a/dart/samples/isolate_html/isolate_sample.dart
+++ b/dart/samples/webcomponents/game_of_life/game_of_life.dart
@@ -2,14 +2,14 @@
// 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.
-#library('isolate_sample');
+#library('game_of_life');
#import('dart:html');
-#import('dart:isolate');
#import('dart:math', prefix: 'Math');
+#import('package:dart-web-components/lib/js_polyfill/web_components.dart');
-#source('IsolateSample.dart');
+#import('components/components.dart');
-main() {
- IsolateSample.main();
+void main() {
+ gameOfLifeComponentsSetup();
}
« no previous file with comments | « dart/samples/webcomponents/game_of_life/components/components.html ('k') | dart/samples/webcomponents/game_of_life/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698