Try gsap.version first

GSAP 3+ uses a unified `gsap` object instead of `TweenLite`/`TweenMax`.
It's currently backward-compatible, but checking `gsap` first can't hurt.
main
James Martindale 4 years ago
parent fbbd1689d1
commit 4fba5de0c6

@ -7519,6 +7519,7 @@
"description": "GSAP is an animation library that allows you to create animations with JavaScript.", "description": "GSAP is an animation library that allows you to create animations with JavaScript.",
"icon": "TweenMax.png", "icon": "TweenMax.png",
"js": { "js": {
"gsap.version": "([\\d.]+)\\;version:\\1",
"TweenLite.version": "([\\d.]+)\\;version:\\1", "TweenLite.version": "([\\d.]+)\\;version:\\1",
"TweenMax.version": "([\\d.]+)\\;version:\\1", "TweenMax.version": "([\\d.]+)\\;version:\\1",
"gsapVersions": "" "gsapVersions": ""