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

Unified Diff: samples/third_party/pop-pop-win/lib/html.dart

Issue 200723008: samples/poppopwin: upgrade to first-class sample (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fixed pkgbuild.status for rename Created 6 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
Index: samples/third_party/pop-pop-win/lib/html.dart
diff --git a/samples/third_party/pop-pop-win/lib/html.dart b/samples/third_party/pop-pop-win/lib/html.dart
deleted file mode 100644
index 05ce166168d1b91b3e13c1387f9f2f5173f2cb07..0000000000000000000000000000000000000000
--- a/samples/third_party/pop-pop-win/lib/html.dart
+++ /dev/null
@@ -1,29 +0,0 @@
-library ppw_html;
-
-import 'dart:async';
-import 'dart:html';
-import 'package:bot/bot.dart';
-import 'poppopwin.dart';
-import 'platform_target.dart';
-
-part 'src/html/high_score_view.dart';
-part 'src/html/game_view.dart';
-part 'src/html/game_storage.dart';
-part 'src/html/game_manager.dart';
-
-PlatformTarget _platformImpl;
-
-void initPlatform(PlatformTarget value) {
- assert(value != null);
- assert(!value.initialized);
- assert(_platformImpl == null);
- _platformImpl = value;
- _platformImpl.initialize();
-}
-
-PlatformTarget get targetPlatform {
- if(_platformImpl == null) {
- initPlatform(new PlatformTarget());
- }
- return _platformImpl;
-}
« no previous file with comments | « samples/third_party/pop-pop-win/lib/canvas.dart ('k') | samples/third_party/pop-pop-win/lib/platform_target.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698