Skip to content
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

doc: add added: information for globals #8901

Closed
wants to merge 1 commit into from

Conversation

lpinca
Copy link
Member

@lpinca lpinca commented Oct 3, 2016

Checklist
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

doc

Description of change

Ref: #6578

@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to the documentations. globals labels Oct 3, 2016
Copy link
Member

@addaleax addaleax left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@silverwind silverwind left a comment

Choose a reason for hiding this comment

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

Care to leave out the whitespace changes? IIRC, some people prefer the double space style to start sentences. It's a stylistic issue that should probably be discussed beforehand and then done once everywhere.

filename used in the command line. The value inside a module is the path
The filename of the code being executed. This is the resolved absolute path
of this code file. For a main program this is not necessarily the same
filename used in the command line. The value inside a module is the path
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm, maybe we should lint for these, if it's possible.

Copy link
Member Author

Choose a reason for hiding this comment

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

No strong opinion on this so yeah I can revert this change but when rendered it uses a single space anyway so I don't see the point of using 2+.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done.

@silverwind
Copy link
Contributor

Should we document the deprecated GLOBAL and root?

@Fishrock123
Copy link
Contributor

@silverwind I'd say probably not... what point is there now?

@silverwind
Copy link
Contributor

Just for historical purpose I guess. They were deprecated in 6.0.0 (#1838), by the way.

@lpinca
Copy link
Member Author

lpinca commented Oct 6, 2016

@silverwind this means re-adding GLOBAL and root in the doc as they are no longer there. I don't know if it makes sense.

@addaleax
Copy link
Member

addaleax commented Oct 6, 2016

Yeah, let’s not add GLOBAL and root to the doc, it’s good that they are undocumented when they are deprecated anyway.

@silverwind
Copy link
Contributor

Okay, lets leave them out. LGTM

Copy link
Member

@jasnell jasnell left a comment

Choose a reason for hiding this comment

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

LGTM

@addaleax addaleax self-assigned this Oct 6, 2016
@addaleax
Copy link
Member

addaleax commented Oct 6, 2016

I’ll start landing this:

  • Approvals (LGTM): 3
  • No objections
  • The PR has been open for the minimum time of 48 or 72 hours
  • All of the requested changes have been made
  • CI is unnecessary

@addaleax
Copy link
Member

addaleax commented Oct 6, 2016

Landed in bd0bedb

@addaleax addaleax closed this Oct 6, 2016
addaleax pushed a commit that referenced this pull request Oct 6, 2016
Ref: #6578
PR-URL: #8901
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Roman Reiss <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
@addaleax
Copy link
Member

addaleax commented Oct 6, 2016

Heads up, this doesn’t land cleanly on v4.x-staging, so a backport would be necessary for that.

@lpinca lpinca deleted the add/added-globals branch October 7, 2016 05:40
lpinca added a commit to lpinca/node that referenced this pull request Oct 7, 2016
Ref: nodejs#6578
PR-URL: nodejs#8901
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Roman Reiss <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
MylesBorins pushed a commit that referenced this pull request Oct 7, 2016
Ref: #6578
Ref: #8964
PR-URL: #8901
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Roman Reiss <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
jasnell pushed a commit that referenced this pull request Oct 10, 2016
Ref: #6578
PR-URL: #8901
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Roman Reiss <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
MylesBorins pushed a commit that referenced this pull request Oct 10, 2016
Ref: #6578
Ref: #8964
PR-URL: #8901
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Roman Reiss <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Fishrock123 pushed a commit that referenced this pull request Oct 11, 2016
Ref: #6578
PR-URL: #8901
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Roman Reiss <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
rvagg pushed a commit that referenced this pull request Oct 18, 2016
Ref: #6578
Ref: #8964
PR-URL: #8901
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Roman Reiss <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
MylesBorins pushed a commit that referenced this pull request Oct 26, 2016
Ref: #6578
Ref: #8964
PR-URL: #8901
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Roman Reiss <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
@MylesBorins MylesBorins mentioned this pull request Oct 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Issues and PRs related to the documentations.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants