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

Unified Diff: pkg/dartdoc/lib/src/dartdoc/utils.dart

Issue 11339056: Cleanup run on DartDoc from Dart Editor. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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/dartdoc/lib/src/dartdoc/utils.dart
diff --git a/pkg/dartdoc/lib/src/dartdoc/utils.dart b/pkg/dartdoc/lib/src/dartdoc/utils.dart
index c70e1660e3c34a8cbeb42a5a1fb54726d58332a6..cb52f96d6c5bb1d68f55d444754f2a465f509c26 100644
--- a/pkg/dartdoc/lib/src/dartdoc/utils.dart
+++ b/pkg/dartdoc/lib/src/dartdoc/utils.dart
@@ -2,6 +2,8 @@
// 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.
+part of dartdoc;
+
// Generic utility functions.
/** Turns [name] into something that's safe to use as a file name. */
@@ -29,7 +31,7 @@ String repeat(String text, int count, {String separator}) {
final buffer = new StringBuffer();
for (int i = 0; i < count; i++) {
buffer.add(text);
- if ((i < count - 1) && (separator !== null)) buffer.add(separator);
+ if ((i < count - 1) && (separator != null)) buffer.add(separator);
}
return buffer.toString();

Powered by Google App Engine
This is Rietveld 408576698