Opened 7 years ago

Closed 7 years ago

#15952 closed defect (fixed)

module specific config not working

Reported by: ben hockey Owned by: Rawld Gill
Priority: blocker Milestone: 1.8.1
Component: Loader Version: 1.8.0
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by ben hockey)

see http://jsfiddle.net/neonstalwart/KRLAJ/ for example

if i have a dojoConfig that includes a module config (ie the config that would be returned via module.config()) there is an error from the loader.

dojoConfig = {
    async: 1,
    config: {
        'app/foo': {
            bar: 'baz'
        }
    }
}

when the loader tries to consume the dojoConfig, it calls getModule but getModule has not yet been declared.

Change History (5)

comment:1 Changed 7 years ago by ben hockey

Description: modified (diff)

comment:2 Changed 7 years ago by ben hockey

Milestone: tbd1.8.1

comment:3 Changed 7 years ago by Kitson Kelly

Priority: undecidedblocker

Changing to blocker as per weekly meeting.

comment:4 Changed 7 years ago by Rawld Gill

In [29688]:

consume module config after loader fully initialized; add test; fix whitespace; refs #15952; !strict

comment:5 Changed 7 years ago by Rawld Gill

Resolution: fixed
Status: newclosed

In [29689]:

backport [29688]; fixes #15952; !strict

Note: See TracTickets for help on using tickets.