Comment on Show HN: Ng-classy – Use Angular 1 and ES6 with easeparentComments−nateabele11yThat is a TypeScript decorator[0]. It's not a Real JavaScript Thing™ in the TC-39 sense, but you can use it if you're willing to put up with more build tools.[0] http://blogs.msdn.com/b/typescript/archive/2015/04/30/announ...−atjoslin11yThat's also a Javascript decorator. You can use it with Babel today if you pass in `{stage: 0}`.https://github.com/wycats/javascript-decoratorshttp://babeljs.io/docs/usage/experimental/−nateabele11yHuh, wycats finally caved on the syntax, eh? Good to know.−andrewmcwatters11yThanks for educating me!
Comments
That is a TypeScript decorator[0]. It's not a Real JavaScript Thing™ in the TC-39 sense, but you can use it if you're willing to put up with more build tools.
[0] http://blogs.msdn.com/b/typescript/archive/2015/04/30/announ...
That's also a Javascript decorator. You can use it with Babel today if you pass in `{stage: 0}`.
https://github.com/wycats/javascript-decorators
http://babeljs.io/docs/usage/experimental/
Huh, wycats finally caved on the syntax, eh? Good to know.
Thanks for educating me!