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

Issue 9315026: Cleanup mdn scripts (Closed)

Created:
8 years, 10 months ago by Jacob
Modified:
8 years, 10 months ago
Reviewers:
nweiz, Bob Nystrom
CC:
reviews_dartlang.org, dgrove
Visibility:
Public.

Description

Cleanup mdn scripts BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=3920

Patch Set 1 #

Total comments: 20

Patch Set 2 : Code review comment fixes #

Total comments: 3

Patch Set 3 : more code review fixes #

Patch Set 4 : Code review fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+438 lines, -245 lines) Patch
M client/html/release/htmlimpl.dart View 2 chunks +6 lines, -2 lines 0 comments Download
M client/html/src/DOMWrapperBase.dart View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download
M utils/apidoc/apidoc.dart View 1 2 3 3 chunks +9 lines, -6 lines 0 comments Download
M utils/apidoc/mdn/README.txt View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M utils/apidoc/mdn/crawl.js View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M utils/apidoc/mdn/extract.dart View 1 2 3 41 chunks +264 lines, -140 lines 0 comments Download
M utils/apidoc/mdn/extract.sh View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M utils/apidoc/mdn/extractRunner.js View 1 2 3 9 chunks +30 lines, -19 lines 0 comments Download
M utils/apidoc/mdn/postProcess.dart View 1 2 3 16 chunks +117 lines, -75 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Jacob
Responses to nweiz code review comments. Fix apidoc script so that the mdn comments for ...
8 years, 10 months ago (2012-02-01 08:00:38 UTC) #1
Bob Nystrom
Couple of nits but LGTM. Thanks for doing this! http://chromiumcodereview.appspot.com/9315026/diff/1/client/html/release/htmlimpl.dart File client/html/release/htmlimpl.dart (right): http://chromiumcodereview.appspot.com/9315026/diff/1/client/html/release/htmlimpl.dart#newcode22176 client/html/release/htmlimpl.dart:22176: ...
8 years, 10 months ago (2012-02-01 18:41:12 UTC) #2
Jacob
http://chromiumcodereview.appspot.com/9315026/diff/1/client/html/release/htmlimpl.dart File client/html/release/htmlimpl.dart (right): http://chromiumcodereview.appspot.com/9315026/diff/1/client/html/release/htmlimpl.dart#newcode22176 client/html/release/htmlimpl.dart:22176: + assert(isEmpty); On 2012/02/01 18:41:13, Bob Nystrom wrote: > ...
8 years, 10 months ago (2012-02-01 21:12:02 UTC) #3
nweiz
8 years, 10 months ago (2012-02-02 00:16:19 UTC) #4
lgtm

http://chromiumcodereview.appspot.com/9315026/diff/3007/utils/apidoc/mdn/extr...
File utils/apidoc/mdn/extract.dart (right):

http://chromiumcodereview.appspot.com/9315026/diff/3007/utils/apidoc/mdn/extr...
utils/apidoc/mdn/extract.dart:377: Element returnValue;
Maybe "parametersHeader" and "returnHeader"? Current naming implies these will
have the parameters/return value inside them.

http://chromiumcodereview.appspot.com/9315026/diff/3007/utils/apidoc/mdn/extr...
utils/apidoc/mdn/extract.dart:391: numEmptyParameters++;
"numEmptyParameters = parameterDescriptions.filter((d) => d.text.trim().length
== 0).length" seems clearer and more concise.

http://chromiumcodereview.appspot.com/9315026/diff/3007/utils/apidoc/mdn/extr...
File utils/apidoc/mdn/extractRunner.js (right):

http://chromiumcodereview.appspot.com/9315026/diff/3007/utils/apidoc/mdn/extr...
utils/apidoc/mdn/extractRunner.js:53: var matchIndex =
inputFile.toLowerCase().indexOf("<!doctype");
I think you could still make this 'inputFile.toLowerCase().indexOf("<!doctype",
1);' and get rid of the substr above.

Powered by Google App Engine
This is Rietveld 408576698