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

Unified Diff: pkg/third_party/html5lib/lib/src/utils.dart

Issue 178843003: [html5lib] triple slash comment style (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: remove extra check Created 6 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
Index: pkg/third_party/html5lib/lib/src/utils.dart
diff --git a/pkg/third_party/html5lib/lib/src/utils.dart b/pkg/third_party/html5lib/lib/src/utils.dart
index 1a2bb9d6d9b85fbbedc1233e0afe3e84c23d4a41..c998e0f00772496ce0541ff0d9a0e10067222ccb 100644
--- a/pkg/third_party/html5lib/lib/src/utils.dart
+++ b/pkg/third_party/html5lib/lib/src/utils.dart
@@ -1,4 +1,4 @@
-/** Misc things that were useful when porting the code from Python. */
+/// Misc things that were useful when porting the code from Python.
library utils;
import 'constants.dart';
@@ -71,11 +71,9 @@ String padWithZeros(String str, int size) {
// TODO(jmesserly): this implementation is pretty wrong, but I need something
// quick until dartbug.com/1694 is fixed.
-/**
- * Format a string like Python's % string format operator. Right now this only
- * supports a [data] dictionary used with %s or %08x. Those were the only things
- * needed for [errorMessages].
- */
+/// Format a string like Python's % string format operator. Right now this only
+/// supports a [data] dictionary used with %s or %08x. Those were the only
+/// things needed for [errorMessages].
String formatStr(String format, Map data) {
if (data == null) return format;
data.forEach((key, value) {

Powered by Google App Engine
This is Rietveld 408576698