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

Fix invalid es6. #436

Merged
merged 1 commit into from
Sep 20, 2016
Merged

Conversation

hjdivad
Copy link
Contributor

@hjdivad hjdivad commented Sep 20, 2016

export let now = Date.now || () => new Date().getTime(); is not valid es6 and
is rejected by acorn (used by rollup) as well as v8. That it parses in babel is
a bug.

This fixes the build for heimdalljs/heimdalljs-lib and presumably other
libraries that use rollup-plugin-commonjs and rsvp.

`export let now = Date.now || () => new Date().getTime();` is not valid es6 and
is rejected by acorn (used by rollup) as well as v8.  That it parses in babel is
a bug.
@hjdivad
Copy link
Contributor Author

hjdivad commented Sep 20, 2016

cc @stefanpenner

@stefanpenner stefanpenner merged commit 6b515d4 into tildeio:master Sep 20, 2016
@hjdivad hjdivad deleted the fix-maybe-invalid-es6 branch September 20, 2016 23:30
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.

None yet

2 participants