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
Convert from CoffeeScript to JavaScript #4065
Merged
Merged
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
kevinsawicki
changed the title
[WIP] Convert CoffeeScript to JavaScript
[WIP] Convert from CoffeeScript to JavaScript
Jan 12, 2016
woop to this π |
π |
Keep going' π π |
kevinsawicki
force-pushed
the
coffee-to-js
branch
from
January 13, 2016 00:24
045bc04
to
b547a38
Compare
π |
zcbenz
added a commit
that referenced
this pull request
Jan 13, 2016
[WIP] Convert from CoffeeScript to JavaScript
I'm so happy for this change π |
kevinsawicki
changed the title
[WIP] Convert from CoffeeScript to JavaScript
Convert from CoffeeScript to JavaScript
Jan 13, 2016
Merged
This was referenced Jan 15, 2016
Merged
This was referenced Mar 16, 2016
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This pull request migrates all of the CoffeeScript source files to JavaScript.
π CoffeeScript was great when this project started, but many of the best parts of it are now in ES6 and available out of the box in Electron. See this blog post for some examples.
β The JavaScript files in this pull request were generated using CoffeeScript
1.10.0
. A second pass will be made in a follow-up pull request to reformat the JavaScript and draft a new styleguide. This is done to minimally disrupt any open or soon to be opened pull requests that may touch the existing.coffee
files.π The comments have been retained by first migrating all the
#
comments to###
which were then compiled to/* */
style comments in the JavaScript.π― The goal is to make Electron as approachable as possible and also to have its source code reflect the capabilities of the V8 version being used.
Changes to be made in subsequent pull requests
return
statementsextend
,slice
, andindexOf
let
andconst
appropriately=>
) functions