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(); |
} |