Dogstudio / highway

Highway - A Modern Javascript Transitions Manager
https://highway.js.org/
MIT License
1.43k stars 92 forks source link

ES5 docs and examples? #60

Closed aolko closed 5 years ago

aolko commented 5 years ago

Hi there, Please provide ES5 specific docs and examples, since it has none of those imports, extends and whatnots. Thanks for taking a look.

Also, any examples on integrating it with GSAP?

Anthodpnt commented 5 years ago

Hello @aolko,

Please learn to say Hello and Thank you and we'll then see if we can help you...

Best regards, Anthodpnt

aolko commented 5 years ago

Hello @aolko,

Please learn to say Hello and Thank you and we'll then see if we can help you...

Best regards, Anthodpnt

Well, that was anticlimactic, still edited the original comment.

Anthodpnt commented 5 years ago

Hello @aolko,

There is no point for us to provide ES5 documentation because Highway is not meant to be used in ES5 which is part of its modern approach to make it more light, flexible and efficient. About the examples integrating GSAP, there are already available on the website. Please take a look at them:

https://highway.js.org/examples/transitions.html

Best regards, Anthodpnt

aolko commented 5 years ago

Pardon, but you are contradicting your own docs: Even if it's compiled, it still should be documented properly.

Anthodpnt commented 5 years ago

You're totally right, that might be a bit confusing. We have a version already built from ES6 to ES5 but in order to use Highway you will have to use ES6 sugar syntax.

We'll work on a better explanation of this part of the documentation.