jlongster / es6-macros

A collection of sweet.js macros that implement ES6 features for ES5
BSD 2-Clause "Simplified" License
237 stars 18 forks source link

Added static methods to class macro #17

Closed KnisterPeter closed 9 years ago

KnisterPeter commented 10 years ago

Implemented the static keyword for class macros. To remove too much repetition I've refactored the method cases to its own macro.

jlongster commented 10 years ago

+1, this is awesome! The class support is somewhat experimental, and I've been meaning to clean up that code and make sure it supports proper ES6 semantics. This helps! I will take take a closer look over the weekend and merge it.

nmn commented 10 years ago

Any updates? Been a while.