Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
MaxDesiatov merged 4 commits into
masterswiftwasm/JavaScriptKit:masterfrom
jsdate-ref-privateswiftwasm/JavaScriptKit:jsdate-ref-privateCopy head branch name to clipboard
Sep 15, 2020
Merged

Rename ref to jsObject on JSDate for consistency with JSError#50
MaxDesiatov merged 4 commits into
masterswiftwasm/JavaScriptKit:masterfrom
jsdate-ref-privateswiftwasm/JavaScriptKit:jsdate-ref-privateCopy head branch name to clipboard

Conversation

@MaxDesiatov

@MaxDesiatov MaxDesiatov commented Sep 14, 2020

Copy link
Copy Markdown
Member

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

j-f1 commented Sep 15, 2020

Copy link
Copy Markdown
Member

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 requested a review from j-f1 September 15, 2020 09:10
@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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.