Jump to content
Search Community

Search the Community

Showing results for tags 'naming'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • GreenSock Forums
    • GSAP
    • Banner Animation
    • Jobs & Freelance
  • Flash / ActionScript Archive
    • GSAP (Flash)
    • Loading (Flash)
    • TransformManager (Flash)

Product Groups

  • Club GreenSock
  • TransformManager
  • Supercharge

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Personal Website


Twitter


CodePen


Company Website


Location


Interests

Found 1 result

  1. Hi Everyone, this is not a animation related question, just wish to get some advices or suggestions to name tweens animation. How do you guys modularise your code or name your variables in terms of code readability. For example, var $object = $('.object'); This allows me to have a quick glance and know this is a jQuery or DOM element. Currently im using something like this, so I can tell it's a animation type var _obj = TweenMax.from($object, 0.6, { autoAlpha: 0, ease: Power1.easeOut }); But I really wish to use the underscore _ as a private method/function identifier. Do you guys prefix your animation var names? Feel free to drop me any suggestion or advice
×
×
  • Create New...