Add GSAP version detection

main
James Martindale 4 years ago
parent 6625a034b1
commit fbbd1689d1

@ -7519,7 +7519,8 @@
"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": {
"TweenMax": "", "TweenLite.version": "([\\d.]+)\\;version:\\1",
"TweenMax.version": "([\\d.]+)\\;version:\\1",
"gsapVersions": "" "gsapVersions": ""
}, },
"scripts": "TweenMax(?:\\.min)?\\.js", "scripts": "TweenMax(?:\\.min)?\\.js",