It's all about the answers!

Ask a question

Multiple process scripts in a single .js file?


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

All the examples on https://jazz.net/wiki/bin/view/Main/AttributeCustomization and https://jazz.net/wiki/bin/view/Main/AttributeCustomizationExamples 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?


Andrew.

Be the first one to answer this question!


Register or to post your answer.