| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
... defined an inspect function ...
Sorry, something went wrong.
There was a problem hiding this comment.
Changed it now, thanks :-)
Sorry, something went wrong.
See: nodejs#1798 When an Object is printed in REPL, the actual representation can be overriden by defining `inspect` method on the objects. This patch includes a note about the same in the REPL documentation
|
bump |
Sorry, something went wrong.
There was a problem hiding this comment.
Maybe remove depth?
Sorry, something went wrong.
There was a problem hiding this comment.
Ah, copy/paste mistake. Thanks :-)
Sorry, something went wrong.
|
LGTM Otherwise. |
Sorry, something went wrong.
|
@Fishrock123 Addressed the comments. PTAL :-) |
Sorry, something went wrong.
|
Bump! |
Sorry, something went wrong.
There was a problem hiding this comment.
Maybe call this Customizing Object displays in the REPL
Sorry, something went wrong.
|
@cjihrig Thanks for the review. I changed the text now. PTAL. |
Sorry, something went wrong.
There was a problem hiding this comment.
Period after function
Sorry, something went wrong.
There was a problem hiding this comment.
I just used :. Should this be a .?
Sorry, something went wrong.
|
LGTM minus a few comments. |
Sorry, something went wrong.
There was a problem hiding this comment.
I think either a period or colon should be fine here. I originally said period because your sentence was coming to a finish, but you also have a following code block, so either should be fine.
Sorry, something went wrong.
There was a problem hiding this comment.
Cool, thanks :-)
Sorry, something went wrong.
|
@Fishrock123 Can you PTAL and give LGTM, so that I can land this? EDIT: CC @targos |
Sorry, something went wrong.
There was a problem hiding this comment.
The link should be relative. You can see how it's done in https://raw.githubusercontent.com/nodejs/io.js/master/doc/api/console.markdown
Sorry, something went wrong.
|
Thanks for pointing it out @targos :-) PTAL now. |
Sorry, something went wrong.
|
LGTM |
Sorry, something went wrong.
There was a problem hiding this comment.
Should this be referred to as inspect()? I wish we had guidelines for that kind of thing... cc @nodejs/documentation
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
See: #1798
When an Object is printed in REPL, the actual representation can be
overriden by defining inspect method on the objects. This patch
includes a note about the same in the REPL documentation