| 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();
|
|
|