require() syntax - possible to pass in arguments?


    Mar 24 2018 | 8:24 pm
    I have read the documentation on Max’s implementation of require(), and done some experimenting with it.
    One thing I’d like to do is to pass some arguments to the module I’m loading when I call require(). Is that possible, or do I have to load first with require(), then pass in my arguments (via an “exports.init” function or whatever) as a separate step?
    https://docs.cycling74.com/max7/vignettes/jsrequire