Skip to content

Changes to make the code more readable #68

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

Merged
merged 4 commits into from
Mar 1, 2019

Conversation

eladFrizi
Copy link
Contributor

@eladFrizi eladFrizi commented Feb 22, 2019

I made changes to make the code in the install method more readable.

  1. I moved the shouldUpdate logic into a separate module.
  2. Moved the code that inits the data (in beforeCreate) with async computed into a function.
  3. Moved the code that registers to the promises and updates the data into a function (in created).
  4. The creation of the '$asyncComputed' in a more straight forward way.

@foxbenjaminfox foxbenjaminfox merged commit 8a576ec into foxbenjaminfox:master Mar 1, 2019
@foxbenjaminfox
Copy link
Owner

Thanks! This helps, I appreciate it.

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