Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Shared wordlist for frontend #5336

Merged
merged 2 commits into from
Mar 30, 2017
Merged

Shared wordlist for frontend #5336

merged 2 commits into from
Mar 30, 2017

Conversation

maciejhirsz
Copy link
Contributor

Analog to #5331 - use external repo with single source for the wordlist recovery phrases are generated from.

@maciejhirsz maciejhirsz added A0-pleasereview 🤓 Pull request needs code review. M7-ui labels Mar 29, 2017
@maciejhirsz maciejhirsz requested review from tomusdrw and jacogr March 29, 2017 17:51
Copy link
Collaborator

@tomusdrw tomusdrw left a comment

Choose a reason for hiding this comment

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

lgtm

@@ -67,7 +67,7 @@ module.exports = {
},
{
test: /\.js$/,
include: /node_modules\/(material-chip-input|ethereumjs-tx)/,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this necessary? I think the code should work in any browser supporting ES6. Do we support other browsers anyway?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It shouldn't be. We are still using UglifyJS to pack the bundle, and UglifyJS only understands ES5 syntax. I think the only thing that is ES6 there are const and let declarations, so we could either kick those out, or change the minifier to Babili or something else.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah, I see. So it's ok then, was just making sure that it's needed.

Copy link
Contributor

Choose a reason for hiding this comment

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

I have something in the back of my head to look at the new Babel uglifier, thanks for the reminder in logging that - just need to see if there are any benefits/drawbacks.

Copy link
Contributor

@jacogr jacogr left a comment

Choose a reason for hiding this comment

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

lgtm

@jacogr jacogr added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Mar 30, 2017
@maciejhirsz maciejhirsz merged commit e0d5eed into master Mar 30, 2017
@maciejhirsz maciejhirsz deleted the mh-wordlist-fe branch March 30, 2017 10:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants