-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tools,doc: parse types in braces everywhere #5329
Conversation
@@ -114,6 +114,10 @@ function parseLists(input) { | |||
var output = []; | |||
output.links = input.links; | |||
input.forEach(function(tok) { | |||
if (tok.type === 'text' && tok.text) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will have side effects, only if we will write something like....
Some missing {type} or { code: 'without backquote' }
@@ -6,13 +6,13 @@ Applications running in Node.js will generally experience four categories of | |||
errors: | |||
|
|||
- Standard JavaScript errors such as: | |||
- [`EvalError`][]: thrown when a call to `eval()` fails. | |||
- [`SyntaxError`][]: thrown in response to improper JavaScript language | |||
- {EvalError} : thrown when a call to `eval()` fails. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove these links?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry @estliberitas , since #5641 fixes the broken links, do we still need to remove them?
+1... ok, LGTM! |
This needs a rebase now. |
@silverwind Done |
Oy.. looks like it needs another rebase. If you can get that I'll look at landing next week |
@jasnell I'll fix tmrw |
Also add `EvalError`, `RangeError`, `ReferenceError`, `SyntaxError`, `TypeError`, `URIError` to list of global types. Fix errors.markdown copy accordingly. Fixes #5325.
@jasnell done |
@nodejs/documentation ... another quick review please? :-) |
LGTM |
ping @jasnell |
LGTM |
Landed in eafd31a |
Also add `EvalError`, `RangeError`, `ReferenceError`, `SyntaxError`, `TypeError`, `URIError` to list of global types. Fix errors.markdown copy accordingly. Fixes: nodejs#5325. PR-URL: nodejs#5329 Reviewed-By: James M Snell <jasnell@gmail.com>
Also add
EvalError
,RangeError
,ReferenceError
,SyntaxError
,TypeError
,URIError
to list of global types. Fix errors.markdowncopy accordingly.
Fixes #5325.