| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Do we need a typeof check here? That's really only necessary if the variable is possibly undeclared. Simply do !callback or callback == null.
Sorry, something went wrong.
There was a problem hiding this comment.
Alright, I have updated to just use !callback.
Sorry, something went wrong.
There was a problem hiding this comment.
Awesome, I'm being picky here as someone could pass a falsy value that isn't undefined and that would break your check.
Sorry, something went wrong.
There was a problem hiding this comment.
No problem! You have every right to be picky. 😉
Sorry, something went wrong.
|
👍 looks good. I'm going to merge this. |
Sorry, something went wrong.
Fix symbolic reference handling in getReferences
| Back | FazBrowse Home | New Git URL |
I also updated the example in general.js so that it would return symbolic references as expected.