I think you want to put it in an initializer.
Have a look at Split up theme Javascript into multiple files
But Falco knows lots more about that than I do.
I think you want to put it in an initializer.
Have a look at Split up theme Javascript into multiple files
But Falco knows lots more about that than I do.