| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
local isn't necessary here, require does this automatically.
Sorry, something went wrong.
There was a problem hiding this comment.
Gotcha. I've just been adding it everywhere in the name of consistency. I was actually having issues with files not loading thinking it wasnt grabbing htem, but they were bing swallowed by the catch on line 59
Sorry, something went wrong.
|
I noticed a lot of require calls with the local normalizing, can you strip those out as well? It'll simplify the code a bit. |
Sorry, something went wrong.
|
Yeah No problem. A lot of them got added in the tests during the clone fiasco |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This makes functions that share typenames available under the type. Eg instead of Clone.clone, you can just call Clone, or Reset instead of Reset.reset, etc.
Also disables the ability to require specific files, requiring you to load nodegit proper.