canjs / can-observable-mixin

Define properties on JavaScript classes
https://canjs.com
MIT License
2 stars 1 forks source link

Add createConstructorFunction helper #137

Closed m-mujica closed 5 years ago

m-mujica commented 5 years ago

This helper will allow us to take ES2015 classes and return constructor functions that can be extended in code that is transpiled with Babel. The helper should be deprecated once Babel transpiled code can extend from native classes without errors.

m-mujica commented 5 years ago

forgot to lint, this build will likely fail.

matthewp commented 5 years ago

lgtm