Index: tests/compiler/dart2js/source_map_deferred_validator_test_file.dart |
diff --git a/samples/pop_pop_win/web/game_web.dart b/tests/compiler/dart2js/source_map_deferred_validator_test_file.dart |
similarity index 53% |
copy from samples/pop_pop_win/web/game_web.dart |
copy to tests/compiler/dart2js/source_map_deferred_validator_test_file.dart |
index fc287491ad5f29284f153db230883217a3e651c2..08ae57f57163543d59d72130fb48ceba1ffde023 100644 |
--- a/samples/pop_pop_win/web/game_web.dart |
+++ b/tests/compiler/dart2js/source_map_deferred_validator_test_file.dart |
@@ -1,11 +1,14 @@ |
// Copyright (c) 2014, 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. |
-library pop_pop_win.game_web; |
-import 'platform_web.dart'; |
-import 'package:pop_pop_win/pop_pop_win.dart'; |
+import 'source_map_deferred_validator_test_lib.dart' deferred as def; |
void main() { |
- startGame(new PlatformWeb()); |
-} |
+ def.loadLibrary().then((_) { |
+ () { |
+ var helloClass = new def.HelloClass(); |
+ helloClass.printHello(); |
+ }(); |
+ }); |
+} |