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

Unified Diff: tools/dom/docs/lib/docs.dart

Issue 13874008: Remove String.slice. Too much overlap with String.substring. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add VM changes. Created 7 years, 8 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 | « tests/corelib/string_slice_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/docs/lib/docs.dart
diff --git a/tools/dom/docs/lib/docs.dart b/tools/dom/docs/lib/docs.dart
index 1b38913ed9eaedccf757f8d74cb93f1b68823016..6c3b75c58cea2b0c909179733aeb22a9734feadf 100644
--- a/tools/dom/docs/lib/docs.dart
+++ b/tools/dom/docs/lib/docs.dart
@@ -106,7 +106,8 @@ Map _generateJsonFromLibraries(MirrorSystem mirrors) {
// Remove interface name from Dom Name.
if (memberDomName.indexOf('.') >= 0) {
- memberDomName = memberDomName.slice(memberDomName.indexOf('.') + 1);
+ memberDomName =
+ memberDomName.substring(memberDomName.indexOf('.') + 1);
}
if (!memberComment.isEmpty) {
« no previous file with comments | « tests/corelib/string_slice_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698