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

Rename ref to jsObject on JSDate for consistency with JSError #50

Merged
merged 4 commits into from
Sep 15, 2020

Conversation

MaxDesiatov
Copy link
Contributor

@MaxDesiatov MaxDesiatov commented Sep 14, 2020

I think that jsObject name is more representative than plain ref, and as Jed correctly points out, it should be public after all for users to access it if necessary.

Also, more doc comments are added to JSDate with existing ones refined.

@MaxDesiatov MaxDesiatov marked this pull request as ready for review September 14, 2020 21:10
@MaxDesiatov MaxDesiatov requested a review from a team September 14, 2020 21:10
@j-f1
Copy link
Member

j-f1 commented Sep 15, 2020

I think this is a useful thing to have public so users can access the raw JS value if necessary.

@MaxDesiatov MaxDesiatov changed the title Make ref private on JSDate Make ref to jsObject on JSDate for consistency with JSError Sep 15, 2020
@MaxDesiatov MaxDesiatov changed the title Make ref to jsObject on JSDate for consistency with JSError Make ref to jsObject on JSDate for consistency with JSError Sep 15, 2020
@MaxDesiatov MaxDesiatov changed the title Make ref to jsObject on JSDate for consistency with JSError Rename ref to jsObject on JSDate for consistency with JSError Sep 15, 2020
@MaxDesiatov MaxDesiatov merged commit 6ce7e77 into master Sep 15, 2020
@MaxDesiatov MaxDesiatov deleted the jsdate-ref-private branch September 15, 2020 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants