I want to split my processing.js code into several files but I\'m not sure how. I tried doing
I know this has already been answered, but I thought I'd add some more explanation:
The problem with your initial approach is that the browser does not know what to do with a file of type "application/processing", so it is never even pulled from the server. The init() package that TML posted looks for these and pulls them by means of XHR.