alexziskind1
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by alexziskind1
-
-
Hi. I'm afraid I'm in the same boat as lewispeel.
Trying to use gsap via npm for the first time today in a non-browser JavaScript environment (specifically NativeScript) and I keep getting browser related errors such as "document is undefined". OK, so I tried adding "var document = document || {}". Now I get "_doc.createElement is not a function". I'm starting to get the feeling that I'm going down a rabbit hole here.
Is there a way to use gsap without a browser and if there is, then how can I do it?
Thank you,
Alex
Use TweenLite/Max without a browser?
in GSAP
Posted
Thanks OSUblake . I will give that a try. GSAP looks like a really promising library, but I found it with a promise (can't find the reference now, of course) that it doesn't depend on the browser so I really was looking forward to using it without hacks, as I'm creating courseware, and don't want to include hacks for my students.
I will definitely come back to this library for my web dev work.
Alex