Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Add support for JavaScript classes (ES6)#2

Open
aminya wants to merge 6 commits intoatom:masterfrom
aminya:ES6
Open

Add support for JavaScript classes (ES6)#2
aminya wants to merge 6 commits intoatom:masterfrom
aminya:ES6

Conversation

@aminya
Copy link
Copy Markdown

@aminya aminya commented Jul 28, 2020

Description of the change

This adds support for JavaScript classes (ES6). Now the classes that are defined in JavaScript can require the ES6 version of the code.

const Mixin = require('mixto/lib/es6')

mixto is used in many packages as a dependency (e.g. minimap). This allows updating those packages to ES6 without the need to rewrite the code.

This code pull-request does not touch the ES5 code, so it does not break anything.

Verification

  • The tests are added for JavaScript classes.

Drawbacks

N/A

Release Notes

  • support for JavaScript classes (ES6) is added.

@aminya
Copy link
Copy Markdown
Author

aminya commented Jul 28, 2020

@nathansobo @darangi @lkashef Could you please merge this? 😃

@aminya aminya force-pushed the ES6 branch 2 times, most recently from 066f552 to 1e9e006 Compare July 28, 2020 15:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant