Sharing code across js modules

    May 16 2012 | 6:52 pm
    Hi, I have a number of js modules that I want to be able to call common routines from. I wondered what the best way to do this was in the max/m4l environment. I'm thinking of creating a class and putting it into a global object that can be accessed from all the modules. I this the best approach? Will this impact performance? Thanks, L