Dojo Plugin
  1. Dojo Plugin
  2. GPDOJO-12

modulePaths is not compatible with async=true

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/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

          • Assignee:
            Robert A Meidal
            Reporter:
            Philippe Soares
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: