Opened 7 years ago

Last modified 7 years ago

#15952 closed defect

module specific config not working — at Version 1

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 (1)

comment:1 Changed 7 years ago by ben hockey

Description: modified (diff)
Note: See TracTickets for help on using tickets.