Skip to content
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

Upgrade to ES6? #172

Open
frankandrobot opened this issue Dec 1, 2015 · 5 comments
Open

Upgrade to ES6? #172

frankandrobot opened this issue Dec 1, 2015 · 5 comments

Comments

@frankandrobot
Copy link

The library is really awesome but I've noticed you guys are re-inventing the wheel in some places (for example, Q.Class.extend). Also, everything is a global which makes it hard to put classes in separate modules (files).

Have you guys thought about upgrading to ES6 or at least to AMD-style modules?

@viki53
Copy link
Collaborator

viki53 commented Dec 1, 2015

This could be interesting, indeed.
But we would have to check the compatibility issues, as some browsers don't fully comply to the ES2015 norm.
I'm sure some work-arounds exist, but will they be worth it?
I'll let the others explain their points of view…

@ghost
Copy link

ghost commented Dec 1, 2015

I think this would make absolutely sense for development.
At the end as of now the whole thing will be transpiled to es5 anyways so
we dont have any browser compatibility issues.

On 1 December 2015 at 09:35, Corentin H [email protected] wrote:

This could be interesting, indeed.
But we would have to check the compatibility issues, as some browsers
don't fully comply to the ES2015 norm.
I'm sure some work-arounds exist, but will they be worth it?
I'll let the others explain their points of view…


Reply to this email directly or view it on GitHub
#172 (comment).

@akinnee
Copy link

akinnee commented Dec 13, 2015

Agreed. Ideally we would write es6 classes and then transform our code into es5 using Babel in our build process.

@ghost
Copy link

ghost commented Dec 13, 2015

fuck yeah!

On 13 December 2015 at 18:35, Alex Kinnee [email protected] wrote:

Agreed. Ideally we would write es6 classes and then transform our code
into es5 using Babel in our build process.


Reply to this email directly or view it on GitHub
#172 (comment).

@frankandrobot
Copy link
Author

Lemme know if you guys need help.I have experience migrating legacy code to systemjs/es6.In fact, I already have a demo quintus app using systemjs and es6

    Thanks!Uriel AvalosLead Developer ConsultantChander Dhall, Inc
     ---- On Sun, 13 Dec 2015 11:35:29 -0600  [email protected]  wrote ----Agreed. Ideally we would write es6 classes and then transform our code into es5 using Babel in our build process.

—Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants