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

Unified Diff: lib/web/web.dart

Issue 10912123: Revert "Move dart:web to pkg:htmlescape." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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
« no previous file with comments | « lib/_internal/libraries.dart ('k') | pkg/htmlescape/htmlescape.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/web/web.dart
diff --git a/pkg/htmlescape/htmlescape.dart b/lib/web/web.dart
similarity index 81%
rename from pkg/htmlescape/htmlescape.dart
rename to lib/web/web.dart
index 6c5e4f85a142701b415b3c5e54d348471f6fca08..58ce510857e0490a7920f3c2a8dd529ad60c7ec8 100644
--- a/pkg/htmlescape/htmlescape.dart
+++ b/lib/web/web.dart
@@ -2,11 +2,10 @@
// 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.
-/**
- * This library contains functions to escape strings for safe inclusion
- * in HTML source.
- */
-#library("htmlescape");
+#library("dart:web");
+
+// Web related functions and data that are not specific to a single environment
+// (e.g., only in a browser or only on a server).
/**
* Escapes HTML-special characters of [text] so that the result can be
« no previous file with comments | « lib/_internal/libraries.dart ('k') | pkg/htmlescape/htmlescape.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698