Sharing code across js modules

May 16, 2012 at 6:52pm

Sharing code across js modules

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

#63634

You must be logged in to reply to this topic.