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

Updates #73

Merged
merged 6 commits into from
Sep 5, 2018
Merged

Updates #73

merged 6 commits into from
Sep 5, 2018

Conversation

Exelord
Copy link
Collaborator

@Exelord Exelord commented Sep 2, 2018

This PR will update packages to latest versions as well as fix deprecations and issue with specifying custom callback by the app.

@Exelord Exelord changed the title Feature updates Updates Sep 3, 2018
index.js Outdated

treeForPublic(tree) {
let faviconTree = new Favicons(this.parentOptions.trees.public, this.parentOptions.favicons);
return mergeTrees([ faviconTree, tree ].filter((v) => v), { overwrite: true });
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nice little take on .filter((v) => v) is .filter(Boolean) instead. It's a little more explicit and concise. But if you prefer this syntax, don't bother changing. Just throwing that out there.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow cool thing I didn't know that's possible. :)

@Exelord Exelord merged commit 91c1c2b into master Sep 5, 2018
@Exelord Exelord deleted the feature-updates branch September 5, 2018 00:00
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