Skip to content

Decaffeinate#2

Draft
aminya wants to merge 21 commits intomasterfrom
decaffeinate
Draft

Decaffeinate#2
aminya wants to merge 21 commits intomasterfrom
decaffeinate

Conversation

@aminya
Copy link
Copy Markdown
Member

@aminya aminya commented Jul 10, 2020

No description provided.

@aminya aminya marked this pull request as draft July 10, 2020 13:05
@aminya aminya force-pushed the decaffeinate branch 3 times, most recently from 7e0831e to 72328a3 Compare July 13, 2020 02:14
aminya added 9 commits July 12, 2020 23:52
- import/export
- default export compat
- remove excess returns
- use => instead of function
- import/export
- optional chaining
- shorter null check
- eachParent is void function
- optional chaining
- import/export
- using intiClass to simulate CoffeeScript behavior
- remove excess implicit returns
- shorter null checks
- remove excess Array.from
- using optional chaining
- using functions/lambdas
- dynamic import grim to speed up loading
- formatting
aminya added 3 commits July 13, 2020 00:00
- import/export
- using initClass to replace CoffeeScript behavior
- remove excess Array.from
- optional chaining
- remove excess return
@aminya
Copy link
Copy Markdown
Member Author

aminya commented Jul 13, 2020

The space-pen-dsl.js file does not work properly yet, and so I included the original coffee file. CoffeeScript 1 compiles classes to functions (instead of a class) which is not the same as compiling it to a class. We should update mixto as well to a class to make this work.

@aminya
Copy link
Copy Markdown
Member Author

aminya commented Jul 28, 2020

Now atom/mixto supports ES6 classes: atom/mixto#2 🎉

We need to adjust the code in space-pen-dsl so the useShadowRoot and _use_shadowRoot_ get defined correctly. We should use defineProperty instead of assigning.

@aminya aminya closed this Jul 22, 2021
@aminya aminya closed this Jul 22, 2021
@aminya aminya reopened this Jul 22, 2021
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.

1 participant