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

Issue 22850005: DOM elements now have MDN comments if provided. (Closed)

Created:
7 years, 4 months ago by janicejl
Modified:
7 years, 4 months ago
CC:
Tate Mandel
Visibility:
Public.

Description

DOM elements now have MDN comments if provided. BUG= R=efortuna@google.com Committed: https://code.google.com/p/dart/source/detail?r=26206

Patch Set 1 #

Patch Set 2 : #

Total comments: 14

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -10 lines) Patch
M pkg/docgen/lib/docgen.dart View 1 2 3 9 chunks +70 lines, -10 lines 1 comment Download

Messages

Total messages: 9 (0 generated)
janicejl
7 years, 4 months ago (2013-08-15 03:08:12 UTC) #1
Emily Fortuna
https://codereview.chromium.org/22850005/diff/3001/pkg/docgen/lib/docgen.dart File pkg/docgen/lib/docgen.dart (right): https://codereview.chromium.org/22850005/diff/3001/pkg/docgen/lib/docgen.dart#newcode102 pkg/docgen/lib/docgen.dart:102: remove whitespace please. https://codereview.chromium.org/22850005/diff/3001/pkg/docgen/lib/docgen.dart#newcode377 pkg/docgen/lib/docgen.dart:377: if (domAnnotation.length != 1) ...
7 years, 4 months ago (2013-08-15 17:05:42 UTC) #2
janicejl
https://codereview.chromium.org/22850005/diff/3001/pkg/docgen/lib/docgen.dart File pkg/docgen/lib/docgen.dart (right): https://codereview.chromium.org/22850005/diff/3001/pkg/docgen/lib/docgen.dart#newcode102 pkg/docgen/lib/docgen.dart:102: On 2013/08/15 17:05:42, Emily Fortuna wrote: > remove whitespace ...
7 years, 4 months ago (2013-08-15 17:45:19 UTC) #3
Emily Fortuna
https://codereview.chromium.org/22850005/diff/3001/pkg/docgen/lib/docgen.dart File pkg/docgen/lib/docgen.dart (right): https://codereview.chromium.org/22850005/diff/3001/pkg/docgen/lib/docgen.dart#newcode377 pkg/docgen/lib/docgen.dart:377: if (domAnnotation.length != 1) return; On 2013/08/15 17:45:19, janicejl ...
7 years, 4 months ago (2013-08-15 18:13:04 UTC) #4
janicejl
https://codereview.chromium.org/22850005/diff/3001/pkg/docgen/lib/docgen.dart File pkg/docgen/lib/docgen.dart (right): https://codereview.chromium.org/22850005/diff/3001/pkg/docgen/lib/docgen.dart#newcode377 pkg/docgen/lib/docgen.dart:377: if (domAnnotation.length != 1) return; On 2013/08/15 18:13:05, Emily ...
7 years, 4 months ago (2013-08-15 18:38:11 UTC) #5
Emily Fortuna
lgtm
7 years, 4 months ago (2013-08-15 18:42:13 UTC) #6
janicejl
Committed patchset #4 manually as r26206 (presubmit successful).
7 years, 4 months ago (2013-08-15 18:47:17 UTC) #7
kevmoo-old
https://codereview.chromium.org/22850005/diff/12001/pkg/docgen/lib/docgen.dart File pkg/docgen/lib/docgen.dart (right): https://codereview.chromium.org/22850005/diff/12001/pkg/docgen/lib/docgen.dart#newcode69 pkg/docgen/lib/docgen.dart:69: Map _mdn; Drive by review: Could one argue for ...
7 years, 4 months ago (2013-08-15 18:59:57 UTC) #8
Emily Fortuna
7 years, 4 months ago (2013-08-15 20:23:12 UTC) #9
Message was sent while issue was closed.
On 2013/08/15 18:59:57, kevmoo wrote:
> https://codereview.chromium.org/22850005/diff/12001/pkg/docgen/lib/docgen.dart
> File pkg/docgen/lib/docgen.dart (right):
> 
>
https://codereview.chromium.org/22850005/diff/12001/pkg/docgen/lib/docgen.dar...
> pkg/docgen/lib/docgen.dart:69: Map _mdn;
> Drive by review:
> 
> Could one argue for a TODO: make this generic and perhaps pluggable?
> 
> I could imagine other types of pluggable annotations (details of an
> auto-generated web service library).
> 
> At a minimum, move MDN-specific code to its own library that's imported into
the
> default impl?

That's a nice suggestion, Kevin! We're hoping to improve our own specific
documentation to the point that we'll be able to get rid of the external docs,
such as MDN (since some of the names are different the linked in docs can
sometimes be misleading), so in theory, ideally, this feature wouldn't be needed
at all in the future, but we can certainly add a TODO to keep in mind as we see
how things evolve.

Powered by Google App Engine
This is Rietveld 408576698