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

Issue 8947005: Refactor dartdoc into a class. Use method overriding to extend. (Closed)

Created:
9 years ago by Bob Nystrom
Modified:
9 years ago
Reviewers:
nweiz
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Refactor dartdoc into a class. Use method overriding to extend. Committed: https://code.google.com/p/dart/source/detail?r=2477

Patch Set 1 #

Total comments: 17

Patch Set 2 : Respond to review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+727 lines, -708 lines) Patch
M client/html/scripts/html_diff.dart View 4 chunks +6 lines, -3 lines 0 comments Download
M client/html/scripts/html_doc.dart View 1 3 chunks +23 lines, -7 lines 0 comments Download
A utils/dartdoc/comment_map.dart View 1 1 chunk +122 lines, -0 lines 0 comments Download
M utils/dartdoc/dartdoc.dart View 1 3 chunks +576 lines, -698 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Bob Nystrom
Dartdoc is now almost completely global-state-free. (I've got some ideas for file writing which should ...
9 years ago (2011-12-15 01:41:30 UTC) #1
Bob Nystrom
Not sure if I successfully sent this out yesterday...
9 years ago (2011-12-15 18:08:04 UTC) #2
nweiz
http://codereview.chromium.org/8947005/diff/1/client/html/scripts/html_doc.dart File client/html/scripts/html_doc.dart (right): http://codereview.chromium.org/8947005/diff/1/client/html/scripts/html_doc.dart#newcode51 client/html/scripts/html_doc.dart:51: String mergeComments(String comment, String extra) { Nit: seems like ...
9 years ago (2011-12-15 19:39:04 UTC) #3
Bob Nystrom
Thanks! http://codereview.chromium.org/8947005/diff/1/client/html/scripts/html_doc.dart File client/html/scripts/html_doc.dart (right): http://codereview.chromium.org/8947005/diff/1/client/html/scripts/html_doc.dart#newcode51 client/html/scripts/html_doc.dart:51: String mergeComments(String comment, String extra) { On 2011/12/15 ...
9 years ago (2011-12-15 20:20:11 UTC) #4
nweiz
9 years ago (2011-12-15 20:54:02 UTC) #5
lgtm

http://codereview.chromium.org/8947005/diff/1/utils/dartdoc/comment_map.dart
File utils/dartdoc/comment_map.dart (right):

http://codereview.chromium.org/8947005/diff/1/utils/dartdoc/comment_map.dart#...
utils/dartdoc/comment_map.dart:63: var line = text.substring(3, text.length);
On 2011/12/15 20:20:11, Bob Nystrom wrote:
> On 2011/12/15 19:39:04, nweiz wrote:
> > text.substring(3) is equivalent to text.substring(3, text.length), here and
> > elsewhere.
> 
> Done, though I'm not sure how that worked before. We don't have optional
> positional parameters, do we?

I'm pretty sure optional parameters can be used positionally or by name.

Powered by Google App Engine
This is Rietveld 408576698