FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

tools: add [src] links to assert.html by rubys · Pull Request #22601 · nodejs/node · GitHub

/ node Public

tools: add [src] links to assert.html - #22601

Closed
rubys wants to merge 2 commits into
nodejs:masterfrom
rubys:assert_src_links
Closed

tools: add [src] links to assert.html#22601
rubys wants to merge 2 commits into
nodejs:masterfrom
rubys:assert_src_links

Conversation

rubys commented Aug 30, 2018

Copy link
Copy Markdown
Member

Parse const assert = module.exports = ok; as exporting a constructor
named assert.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Parse `const assert = module.exports = ok;` as exporting a constructor
named `assert`.

Copy link
Copy Markdown
Collaborator

nodejs-github-bot added doc Issues and PRs related to the documentations. tools Issues and PRs related to the tools directory. labels Aug 30, 2018
Comment thread test/fixtures/apilinks/reverse.json Outdated
@@ -0,0 +1,3 @@
{
"asserts.ok": "reverse.js#L10"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Any chance we could figure out that this should link to L5? (It seems too tricky to me but I figured I’d ask 🙂)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I'll take a look. I'm inclined to only do that for statements of the form:

x.y = y;

In other words, not for the following (which would be an alias):

x.y = z;

Thoughts?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I think that sounds reasonable, yeah :)

Hard to explain, see test case for examples.  :-)

rubys commented Aug 30, 2018

Copy link
Copy Markdown
Member Author

BridgeAR added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Aug 31, 2018
rubys added a commit to rubys/node that referenced this pull request Sep 2, 2018
Parse `const assert = module.exports = ok;` as exporting a constructor
named `assert`.

PR-URL: nodejs#22601
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>

rubys commented Sep 2, 2018

Copy link
Copy Markdown
Member Author

Landed: 5da1553

rubys closed this Sep 2, 2018
targos pushed a commit that referenced this pull request Sep 2, 2018
Parse `const assert = module.exports = ok;` as exporting a constructor
named `assert`.

PR-URL: #22601
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
targos pushed a commit that referenced this pull request Sep 3, 2018
Parse `const assert = module.exports = ok;` as exporting a constructor
named `assert`.

PR-URL: #22601
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
targos pushed a commit that referenced this pull request Sep 6, 2018
Parse `const assert = module.exports = ok;` as exporting a constructor
named `assert`.

PR-URL: #22601
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. doc Issues and PRs related to the documentations. tools Issues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL