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

Deprecated inspect() replaced with symbol keyed function. #693

Closed
wants to merge 1 commit into from
Closed

Deprecated inspect() replaced with symbol keyed function. #693

wants to merge 1 commit into from

Conversation

kolektiv
Copy link

One possible solution to #408 is to replace the inspect member functions with functions keyed on the appropriate symbol (as this pull request does). It also uses the Symbol.for approach, as this shouldn't error if the symbol doesn't exist, simply create a new symbol in the global symbol registry (in a browser, this would probably be the case).

I'm not personally sure of the status of support for custom inspection across browsers (or the mechanism). I can't see any sign of support, in which case this might well be effectively "no change" for browsers, but a fix for Node as the runtime.

@gcanti gcanti force-pushed the master branch 2 times, most recently from 93de5eb to 6f0676d Compare February 26, 2019 17:35
@gcanti
Copy link
Owner

gcanti commented Jul 1, 2019

Superseded by #892

@gcanti gcanti closed this Jul 1, 2019
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.

2 participants