Skip to content

Instantly share code, notes, and snippets.

@AshCoolman
Last active April 15, 2016 17:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AshCoolman/ff8e523d48f4657bf27f to your computer and use it in GitHub Desktop.
Save AshCoolman/ff8e523d48f4657bf27f to your computer and use it in GitHub Desktop.

The unnoffical Babel 6 Babel 5 style legacy decorator plugin has a slightly different implementation of that actual Babel 5 decorator implementation.

What decorator support does Babel 5 and Babel 6 have?

...the intention is still for Babel 6 to implement the new proposal once it has been officially presented to TC39.

-source: loganfsmyth on Phabricator

So Babel 5 supported the old decorator spec, Babel 6 will support the new decorator spec - when the new spec is settled.

Which begs the question:

When will the new spec be settled and (supported by Babel 6)?

Answer: ...when wycats feels the proposal is ready

-source: logalfsmyth on Phabricator question/answer

References

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