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

Support ES6 module #6

Open
krampstudio opened this issue Jan 12, 2015 · 3 comments
Open

Support ES6 module #6

krampstudio opened this issue Jan 12, 2015 · 3 comments
Assignees
Milestone

Comments

@krampstudio
Copy link
Owner

krampstudio commented Jan 12, 2015

aja.js should also support the ES6 module syntax :

export default aja;

but we need to check how to know if ES6 modules are supported

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/7684511-support-es6-module?utm_campaign=plugin&utm_content=tracker%2F6332594&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F6332594&utm_medium=issues&utm_source=github).
@krampstudio krampstudio self-assigned this Jan 12, 2015
@krampstudio krampstudio added this to the 0.4.0 milestone Jan 12, 2015
@krampstudio
Copy link
Owner Author

I've opened this discussion as the solution seems to be not so obvious http://stackoverflow.com/questions/27922232/how-to-feature-detect-es6-modules

@krampstudio
Copy link
Owner Author

Hi Andrew,

Yes, I was also planning to use modules and to transpile it with
Babel/Browserify. I'll be happy to accept such a PR.

2016-02-12 15:25 GMT+01:00 Andrew Markham-Davies [email protected]:

I stumbled upon this repo looking for a es6 module I could use for http
calls. looking at the difficulty in detecting es6 support, Id suggest
writing aja in es6 and having a compiled es5 version. that way people can
browserify the es6 version (or what ever tool they use) and anyone else can
use the es5 version in the same way they currently are. That way you
wouldn't be maintaining 2 code bases and still offering es6 support? I'd be
happy to put in a pull request if you think it's the most reasonable
solution?


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

http://krampstudio.com
http://github.com/krampstudio
https://twitter.com/kramp

@krampstudio krampstudio modified the milestones: 1.0.0, 0.4.0 Feb 28, 2016
@krampstudio
Copy link
Owner Author

In progress

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

1 participant