Documentation
Documentation copied to clipboard
feature: refactor get the snippet code
Changes made:
- Removed unnecessary nested promises by chaining then() calls.
- Used forEach loop instead of for loop for iterating over codeLines.
- Replaced indexOf with includes for checking if a line contains the search term.
- Simplified the logic for setting startingLine and foundLine within the loop.
- Replaced arrow functions with concise arrow functions where possible.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| documentation | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 5, 2024 9:57am |
This is mainly a cosmetic change, right? No functionality has changed?
I am a bit confused as to the current changes. Formatting has changed a bit, but it seems like the code as it is is almost (or even completely) the same?
any update here? or should I close it?