-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Description
@Blesh As a follow up from https://twitter.com/BenLesh/status/750378713905192960, here is an issue for this workaround that I've seen in a couple of code bases.
RxJS version:
5.0.0-beta.9
Code to reproduce:
Compile rxjs source with Babel.
See existing workarounds as example:
- https://github.com/mike-north/ember-rx-shim/blob/master/index.js#L10
- https://github.com/orbitjs/ember-orbit/blob/master/index.js#L28
Expected behavior:
Babel compiles rxjs-es source without errors.
Actual behavior:
Babel throws Unexpected Token error similar to this: https://babeljs.io/repl/#?evaluate=true&lineWrap=false&presets=es2015%2Creact%2Cstage-2&code=let%20Scheduler%20%3D%20%7B%0A%20%20asap%2C%0A%20%20async%2C%0A%20%20queue%2C%0A%20%20animationFrame%0A%7D%3B
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels