Search the Community
Showing results for tags 'format'.
-
Sup guys, do you have something to get optimal formatter with gsap? With a prettier plugins or another formatters? Prettier is nice for react,jsx, but became weird with gsap chaining. What did you use ? any recommendation or special setting ? Example here, syntax became buggy, look gsap color, because it break lines for a reason i dont know ! Maybe a way to get something like this ? optimal space ! ```js gsap.to('.ActivityTab', 0.6, { opacity: 1, scale: 1, rotation: 0, y: '0%', ease: 'elastic.out(1.2, 0.75)', stagger: { from: 0, amount: 0.5, }, }).delay(0.5); ```
-
"Format Code" breaks array elements to separate lines - Flash CC 2014
Mike Baugh posted a topic in GSAP (Flash)
I just upgraded from Adobe Flash CS6 to Adobe Flash CC 2014 and I noticed that they changed how the "Format Code" command formats a Greensock code line. Does anyone have a workaround or solution? The way CS6 formated a line of Greensock code (my preferred way): TweenLite.to(mc, 1.5, {x:100, y:200, rotation: 360, ease:Expo.easeInOut, delay:1}); How it formats now in CC 2014: TweenLite.to(mc, 1.5, { x: 100, y: 200, rotation: 360, ease: Expo.easeInOut, delay: 1 });