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

Unified Diff: pkg/htmlescape/htmlescape.dart

Issue 10905125: Move dart:web to pkg:htmlescape. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments. 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/web/web.dart ('k') | pkg/htmlescape/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/htmlescape/htmlescape.dart
diff --git a/lib/web/web.dart b/pkg/htmlescape/htmlescape.dart
similarity index 81%
rename from lib/web/web.dart
rename to pkg/htmlescape/htmlescape.dart
index 58ce510857e0490a7920f3c2a8dd529ad60c7ec8..6c5e4f85a142701b415b3c5e54d348471f6fca08 100644
--- a/lib/web/web.dart
+++ b/pkg/htmlescape/htmlescape.dart
@@ -2,10 +2,11 @@
// 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("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).
+/**
+ * This library contains functions to escape strings for safe inclusion
+ * in HTML source.
+ */
+#library("htmlescape");
/**
* Escapes HTML-special characters of [text] so that the result can be
« no previous file with comments | « lib/web/web.dart ('k') | pkg/htmlescape/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698