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

Unified Diff: dart/lib/compiler/samples/leap/leap.dart

Issue 11184046: Clean up leg.dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased on CL 11187067 Created 8 years, 2 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/lib/compiler/samples/leap/leap.dart
diff --git a/dart/lib/compiler/samples/leap/leap.dart b/dart/lib/compiler/samples/leap/leap.dart
index ce7b9c2573bbfd67c1b6a8615ee7da85d2ca1826..3dba298afc49efaaee623187e7040deab832391b 100644
--- a/dart/lib/compiler/samples/leap/leap.dart
+++ b/dart/lib/compiler/samples/leap/leap.dart
@@ -2,18 +2,18 @@
// 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('leap');
+library leap;
-#import('dart:isolate');
-#import('dart:uri');
+import 'dart:isolate';
+import 'dart:uri';
-#import('dart:html', prefix: 'html');
-#import('request_cache.dart');
-#import('../../lib/compiler/implementation/elements/elements.dart');
-#import('../../lib/compiler/implementation/leg.dart');
-#import('../../lib/compiler/implementation/tree/tree.dart');
-#import('../../lib/compiler/implementation/source_file.dart');
-#import('../../lib/compiler/implementation/library_map.dart');
+import 'dart:html' as html;
+import 'request_cache.dart';
+import '../../lib/compiler/implementation/elements/elements.dart';
+import '../../lib/compiler/implementation/dart2jslib.dart';
+import '../../lib/compiler/implementation/tree/tree.dart';
+import '../../lib/compiler/implementation/source_file.dart';
+import '../../lib/compiler/implementation/library_map.dart';
-#source('leap_leg.dart');
-#source('leap_script.dart');
+part 'leap_leg.dart';
+part 'leap_script.dart';
« no previous file with comments | « dart/lib/compiler/implementation/universe/universe.dart ('k') | dart/pkg/dartdoc/lib/src/mirrors/dart2js_mirror.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698