Dojo Plugin

modulePaths is not compatible with async=true

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:

Description

Hi,
When developing custom modules, we can now use the modulePaths attribute in the <dojo:header> tag to specify the module path.

However, this doesn't work if we try to switch to AMD mode by setting the attribute async="true" in <dojo:header>.

If I understood correctly the dojo loader documentation, we should use the "paths", "packages" or "packagePaths" attributes instead.

See http://dojotoolkit.org/reference-guide/loader/amd.html#configuration-variables

Activity

Hide
Robert A Meidal added a comment -

I believe this was resolved with pull request #31. If we need more work on this then please create a new ticket. Thanks.

https://github.com/cfxram/grails-dojo/pull/31

Show
Robert A Meidal added a comment - I believe this was resolved with pull request #31. If we need more work on this then please create a new ticket. Thanks. https://github.com/cfxram/grails-dojo/pull/31

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: