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

Unified Diff: utils/dartdoc/comment_map.dart

Issue 9453031: Make dartdoc and apidoc run on the VM instead of node. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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 | « utils/apidoc/html_diff.dart ('k') | utils/dartdoc/dartdoc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/dartdoc/comment_map.dart
diff --git a/utils/dartdoc/comment_map.dart b/utils/dartdoc/comment_map.dart
index cfd633f8734cc751d0b6a24aefd0e3cfb102a179..fea4e56bc1f0f23c75232ceaea36394825075443 100644
--- a/utils/dartdoc/comment_map.dart
+++ b/utils/dartdoc/comment_map.dart
@@ -102,7 +102,7 @@ class CommentMap {
stripComment(String comment) {
StringBuffer buf = new StringBuffer();
- for (final line in comment.split('\n')) {
Siggi Cherem (dart-lang) 2012/02/23 23:15:47 wow... if you haven't, let's make sure we add a bu
Bob Nystrom 2012/02/23 23:54:38 Done. http://code.google.com/p/dart/issues/detail?
+ for (var line in comment.split('\n')) {
line = line.trim();
if (line.startsWith('/**')) line = line.substring(3);
if (line.endsWith('*/')) line = line.substring(0, line.length - 2);
« no previous file with comments | « utils/apidoc/html_diff.dart ('k') | utils/dartdoc/dartdoc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698