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

refactor: added some utils fns #1657

Merged
merged 5 commits into from
Jan 18, 2022
Merged

Conversation

jimmywarting
Copy link
Contributor

Two or rather three things have happened in this PR

  • isObject was moved to utils instead (so i removed that tiny is-object.js file)
  • I added a hasOwn utility fn (or rather a ponyfill) and used it throughout the hole codebase
  • I added a mixin utility fn that is now used by both Request & Response base classes
    ( this makes it easier to convert them to a class later )

@niftylettuce niftylettuce merged commit af27194 into ladjs:master Jan 18, 2022
@jimmywarting jimmywarting deleted the utils branch January 18, 2022 19:11
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