AnsweredAssumed Answered

General question about DOJO declarative programming

Question asked by vincent_choffrut on Apr 30, 2015
Latest reply on May 1, 2015 by csgeosol1

Hello everyone,

I'm using the declarative programming of DOJO and it's working just fine but I must admit that I'm losing quite some time struggling with the order of my

 

require(

[...],

function

(...)

{...}

); 

 

lists (which are now quite LONG... ;).

 

I can't seem to find any clear rule or explanation on any documentation about HOW these MANY objects should be ordered and declared (besides that the order must be the same in both lists, that is the general info I already gathered),

especially concerning the parser,

and in the require list:

-the esri/layers/...

-the esri/dijit/...

-the dojo/...

-the dijit.layout/...

(and so on...)

 

Can someone explain that in few lines or send a link to a documentation which clearly states the rules?

Thanx in advance!

Outcomes