This repository has been archived by the owner on Sep 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Message from CI:
|
@evertonfraga yup - whoops. Didn't have all the build steps accounted for (and tools installed); waiting through that now. Will update when finished 😎 |
No problem. Broken CIs are a good thing :) I can take a look at this tomorrow morning, don't worry. |
I feel way more comfortable with babel rather than electron-compiler. |
evertonfraga
approved these changes
Sep 14, 2017
evertonfraga
added a commit
that referenced
this pull request
Sep 22, 2017
* improve 'METHOD_DENIED' error message (#2127) * improve 'METHOD_DENIED' error message * fix * upstream fixes * Swarm additions (#2764) * fixes batch requests on isolated preloaders * added 404 page for not found swarm content * fixed coide climate issues * show custom 404 error only for bzz:// * Error page fixes and build errors (#2780) * fixes batch requests on isolated preloaders * added 404 page for not found swarm content * fixed coide climate issues * show custom 404 error only for bzz:// * fixed borwser.js issue and sound and error pages * trigger travis * trigger travis * adding globals to ESLint whitelist * Small refactor; Fixing 3/4 tests * Adjusting spectron version * ESLint * [Spectron] New fixture server; Fixes 4/4 test. * Wallet shouldn't start Swarm * Wallet shouldn't start Swarm * Adding exception to eslint * Fix wallet preloader issue * Mac release path (#2808) * Adding gitter channel info (#2807) * Add bzz and .eth to urls (#2792) * add .eth * refactor ifs * solve for wallet.ethereum.org * Fixing delay problem * Update README.md (#2829) * Node version field. * Borrowing sentence from truffle's issue template * Complete Albanian translation (#2919) * Nightly backup * Typo fix * Fix formatting * Complete mist.sq.i18n.json * Complete mist.sq.i18n.json * Possible fixes * add menu item list * fix syntax error * Fit in with other translations * Fixing json format (#2946) * Fixing gitter URL (#2948) * Updating geth (#2949) * Update solc 1.4.15 (#2960) * WIP: update solidity to 1.4.12 * Updating solc to 0.4.13 * Updating to solc 0.4.15 * Update copyright year 2016 to 2017 on About page (#3000) Update copyright year 2016 to 2017 on About page * Adds GitHub PR template (#3035) * Revert "Update copyright year 2016 to 2017 on About page" (#3037) * Revert "Adds GitHub PR template (#3035)" This reverts commit ba7a210. * Revert "Update copyright year 2016 to 2017 on About page (#3000)" This reverts commit c8a64f1. * Compiles ES6+ (#3034) * Compiles es6+7 * Optionally skipping gulp tasks * Rearranges deps * Fixing menuItems bug * Transpiles with Babel * Runs dev with Babel * Compiles modules directory * Fixes Swarm template typos (#3048) * Tweaks README for new dev script (#3058) * Update geth binaries to 1.7.0 (#3046) Ethereum to the moon!!! YAY!!!
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does it do?
Adds the ability to write ES6+ features in electron (async/await, module imports, etc.)
Any helpful background information?
The.compilerc
file is picked up by the electron-compile and can be further tweaked. See: https://github.com/electron/electron-compile#how-do-i-set-up-babel--less--whatever-the-way-i-wantmenuItems.js
,devtToolsSubMenu
was never instantiated withconst
orlet
, so I did to resolve a new error I received.Which code should the reviewer start with?
Small diff. Take it from the top.
New dependencies? What are they used for?
electron-compile
&electron-compilers
to JIT compile ES6+ within electron. See: https://github.com/electron/electron-compilebabel-gulp
for prod transpilingbabel-register
for dev transpilingbabel-preset-es2016
- es7 preset