It's all about the answers!

Ask a question

Multiple process scripts in a single .js file?

Andrew Stevens (1482529) | asked Jan 26 '12, 6:23 a.m.

All the examples on and provide & declare a single class. However, since the functions for each customisation are all scoped to a class, could more than one be grouped together in a single javascript source file? (with multiple dojo.provide & dojo.declare calls) Or does the dojo loader not like this?
How would it then look in the providers configuration-data section of the process configuration? Each provider listing their own class in the relevant script element, but all having the same path attribute on it? Is the client smart enough to only load the file once in this case?


Be the first one to answer this question!

Register or to post your answer.