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

Unified Diff: pkg/dartdoc/utils.dart

Issue 10829459: Deprecate Math object in corelib in favor of dart:math library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments. Created 8 years, 4 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 | « pkg/dartdoc/dartdoc.dart ('k') | pkg/fixnum/fixnum.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dartdoc/utils.dart
diff --git a/pkg/dartdoc/utils.dart b/pkg/dartdoc/utils.dart
index 0bd4164fb558fa3026e1716d3b797a50d40ca132..0922e516bc6f606dbe41f03d6d43824df91b2f0b 100644
--- a/pkg/dartdoc/utils.dart
+++ b/pkg/dartdoc/utils.dart
@@ -38,7 +38,7 @@ String repeat(String text, int count, [String separator]) {
/** Removes up to [indentation] leading whitespace characters from [text]. */
String unindent(String text, int indentation) {
var start;
- for (start = 0; start < Math.min(indentation, text.length); start++) {
+ for (start = 0; start < min(indentation, text.length); start++) {
// Stop if we hit a non-whitespace character.
if (text[start] != ' ') break;
}
« no previous file with comments | « pkg/dartdoc/dartdoc.dart ('k') | pkg/fixnum/fixnum.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698