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

Unified Diff: pkg/compiler/lib/src/colors.dart

Issue 693183006: Revert "Move dart2js from sdk/lib/_internal/compiler to pkg/compiler" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « pkg/compiler/lib/src/code_buffer.dart ('k') | pkg/compiler/lib/src/common.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/colors.dart
diff --git a/pkg/compiler/lib/src/colors.dart b/pkg/compiler/lib/src/colors.dart
deleted file mode 100644
index 0c100854ea02911884664169832ead458b290bff..0000000000000000000000000000000000000000
--- a/pkg/compiler/lib/src/colors.dart
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (c) 2012, 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 colors;
-
-// See http://en.wikipedia.org/wiki/ANSI_escape_code#CSI_codes
-const String RESET = '\u001b[0m';
-
-// See http://en.wikipedia.org/wiki/ANSI_escape_code#Colors
-const String BLACK_COLOR = '\u001b[30m';
-const String RED_COLOR = '\u001b[31m';
-const String GREEN_COLOR = '\u001b[32m';
-const String YELLOW_COLOR = '\u001b[33m';
-const String BLUE_COLOR = '\u001b[34m';
-const String MAGENTA_COLOR = '\u001b[35m';
-const String CYAN_COLOR = '\u001b[36m';
-const String WHITE_COLOR = '\u001b[37m';
-
-String wrap(String string, String color) => "${color}$string${RESET}";
-
-String black(String string) => wrap(string, BLACK_COLOR);
-String red(String string) => wrap(string, RED_COLOR);
-String green(String string) => wrap(string, GREEN_COLOR);
-String yellow(String string) => wrap(string, YELLOW_COLOR);
-String blue(String string) => wrap(string, BLUE_COLOR);
-String magenta(String string) => wrap(string, MAGENTA_COLOR);
-String cyan(String string) => wrap(string, CYAN_COLOR);
-String white(String string) => wrap(string, WHITE_COLOR);
« no previous file with comments | « pkg/compiler/lib/src/code_buffer.dart ('k') | pkg/compiler/lib/src/common.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698