dojoConfig object

I am trying to learn dojo...

I have this code in  a.html file but i dont understand it.... can you please help
  var dojoConfig = {
        paths: {
          modules: location.pathname.replace(/\/[^/]+$/, "") + "/javascript"

thanks so much
Who is Participating?
dojoConfig is an object that has a field paths. paths is also an object which has a field modules. the value of modules field would be the evaluation of location.pathname.replace(/\/[^/]+$/, "") + "/javascript".

modules can be accessed as dojoConfig.paths.modules

For Example : Student object with Name,Address in javascript can be created as follows
var student = { Name: 'xxx',
                        Address : { DoorNo: 'xxxx', PinCode: 'xxxxx' }
ts84zsAuthor Commented:
Thanks so much its v  clear now ....
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.