Rc fixes #2075

Merged
neb-b merged 2 commits from rc-fixes into master 2018-10-30 19:06:52 +01:00
neb-b commented 2018-10-30 18:37:43 +01:00 (Migrated from github.com)

Description

babel-pollyfil/async await was causing issues when building a binary saying window is not defined when launching. I think we just need to remove electron-webpack to have full control over it. Not sure why it was breaking but didn't spend much time debugging.

<!-- Thank your for making LBRY better! note: Check existing issues and pull-requests before submitting new ones, as a courtesy to the maintainers and making sure work isn't duplicated. --> ### Description `babel-pollyfil`/`async await` was causing issues when building a binary saying `window is not defined` when launching. I think we just need to remove `electron-webpack` to have full control over it. Not sure why it was breaking but didn't spend much time debugging. <!-- Please describe what the changes are made in this pull request and why the change was necessary. --> <!-- If this pull request applies to an issue, add in the issue number here e.g. Fixes #1 -->
neb-b commented 2018-10-30 19:05:37 +01:00 (Migrated from github.com)

@skhameneh Merging this to release an RC. Let me know if there are any issues.

@skhameneh Merging this to release an RC. Let me know if there are any issues.
skhameneh (Migrated from github.com) reviewed 2018-10-30 19:15:08 +01:00
skhameneh (Migrated from github.com) left a comment

Minor comments, nothing major

Minor comments, nothing major
@ -239,0 +235,4 @@
// Determine if the latest subscription currently saved is actually the latest subscription
const latestIndex = claimsInChannel.findIndex(
claim => `${claim.name}#${claim.claim_id}` === savedSubscription.latest
);
skhameneh (Migrated from github.com) commented 2018-10-30 19:13:58 +01:00

no more await 😞

no more ```await``` 😞
@ -266,0 +269,4 @@
newUnread,
downloadCount > 0 ? NOTIFICATION_TYPES.DOWNLOADING : NOTIFICATION_TYPES.NOTIFY_ONLY
)
);
skhameneh (Migrated from github.com) commented 2018-10-30 19:13:28 +01:00

parens

parens
@ -271,0 +288,4 @@
},
buildURI(
{ contentName: claimsInChannel[0].name, claimId: claimsInChannel[0].claim_id },
false
skhameneh (Migrated from github.com) commented 2018-10-30 19:13:15 +01:00

Can you put parens for better legibility?

Can you put parens for better legibility?
skhameneh (Migrated from github.com) commented 2018-10-30 19:12:40 +01:00

Should store a local var for this since it's used so many times. claimsInChannel[0]

Should store a local var for this since it's used so many times. ```claimsInChannel[0]```
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#2075
No description provided.