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

Update Local #1

Merged
merged 2 commits into from
Feb 7, 2020
Merged

Update Local #1

merged 2 commits into from
Feb 7, 2020

Conversation

JacobMGEvans
Copy link
Owner

No description provided.

JacobMGEvans and others added 2 commits February 6, 2020 01:08
* forEach on methods converted to ES1 for loop - leaving comments for PR review confirmation

* forEach converted to forloop -- function ensures middleware is a function

* let & const to var for potential small perf -- tests passing in both commits

* Removed comments -- git can be used to diff the logic

* forEach converted to for loop -- seems to build the middleware for server use

* forEach converted to for loop -- param for loop needed a function closure to not hang up the tests

* setPrefix forEach converted -- all 92 tests passing
- Renamed the previous function to setFUNCTION

* support array of paths -- 92 tests pass

* converted forEach loop that iterates over cloneRouter stack

* converted route matching and method assign nested loop

* converted loop that supports array of paths and registers routes

* converted add parameter middleware loop -- all 92 tests passing

* Last forEach converted -- also removed a unused param from a function
- All 92 tests passing
- Some code cleanup
- Minor formatting mainly to refactored sections
- No benchmarks currently
@JacobMGEvans JacobMGEvans merged commit d89c4f1 into JacobMGEvans:master Feb 7, 2020
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