Skip to content

fix(babel): fix an issue where babel could not compile Scheduler.async#1807

Merged
kwonoj merged 1 commit intoReactiveX:masterfrom
benlesh:fix-babel-issue
Jul 5, 2016
Merged

fix(babel): fix an issue where babel could not compile Scheduler.async#1807
kwonoj merged 1 commit intoReactiveX:masterfrom
benlesh:fix-babel-issue

Conversation

@benlesh
Copy link
Member

@benlesh benlesh commented Jul 5, 2016

This moves the async property to be the last one defined, because babel will then not choke on the , after the property.

fixes #1806

related to https://phabricator.babeljs.io/T7479

@coveralls
Copy link

Coverage Status

Coverage remained the same at 96.472% when pulling 07c920d on blesh:fix-babel-issue into b31aee5 on ReactiveX:master.

@kwonoj
Copy link
Member

kwonoj commented Jul 5, 2016

LGTM

@kwonoj
Copy link
Member

kwonoj commented Jul 5, 2016

hmm, seems I can't make LGTM passes. :/

@benlesh
Copy link
Member Author

benlesh commented Jul 5, 2016

LGTM

@benlesh
Copy link
Member Author

benlesh commented Jul 5, 2016

I'm not sure I like this LGTM stuff.
haha

@kwonoj
Copy link
Member

kwonoj commented Jul 5, 2016

@Blesh I think #1808 is reason for LGTM not working.

This moves the `async` property to be the last one defined, because babel will then not choke on the `,` after the property.

fixes #1806
@benlesh
Copy link
Member Author

benlesh commented Jul 5, 2016

LGTM LGTM LGTM

lol!

@benlesh
Copy link
Member Author

benlesh commented Jul 5, 2016

Woot! it worked!

@kwonoj
Copy link
Member

kwonoj commented Jul 5, 2016

:yay:

@coveralls
Copy link

Coverage Status

Coverage remained the same at 96.472% when pulling 6862e7e on blesh:fix-babel-issue into 2ac6ed0 on ReactiveX:master.

@kwonoj kwonoj merged commit 12c5c74 into ReactiveX:master Jul 5, 2016
@kwonoj
Copy link
Member

kwonoj commented Jul 5, 2016

@Blesh I took this PR and just merged it :)

@dacz
Copy link

dacz commented Jul 5, 2016

I suppose to have this problem. RxJS installed from npm and it doesn't compile with babel. How may I apply the fix? Thx.

@kwonoj
Copy link
Member

kwonoj commented Jul 5, 2016

@dacz unless you're directly using master via npm link or some other way, to get latest changes you may need wait next package published. I believe it'll be done quite soon, but hard to provide exactly when.

@dacz
Copy link

dacz commented Jul 5, 2016

ok, thanks, I'll wait.

@benlesh benlesh deleted the fix-babel-issue branch July 6, 2016 17:00
@lock
Copy link

lock bot commented Jun 6, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 6, 2018
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.

rxjs-es build cannot be complied by Babel

4 participants