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

Unified Diff: dart/lib/compiler/implementation/js/js.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/implementation/js/js.dart
diff --git a/dart/lib/compiler/implementation/js/js.dart b/dart/lib/compiler/implementation/js/js.dart
index 433352ff4ae1ad5ea75aa724b4392f7231e2b84f..b7df642c7bf24a4f009d3b67624644534a590eed 100644
--- a/dart/lib/compiler/implementation/js/js.dart
+++ b/dart/lib/compiler/implementation/js/js.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('js');
+library js;
-#import("precedence.dart");
-#import("../util/characters.dart", prefix: "charCodes");
+import 'precedence.dart';
+import '../util/characters.dart' as charCodes;
// TODO(floitsch): remove this dependency (currently necessary for the
// CodeBuffer).
-#import('../leg.dart', prefix: "leg");
+import '../dart2jslib.dart' as leg;
-#source('nodes.dart');
-#source('printer.dart');
+part 'nodes.dart';
+part 'printer.dart';
« no previous file with comments | « dart/lib/compiler/implementation/elements/elements.dart ('k') | dart/lib/compiler/implementation/js_backend/js_backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698