Results 1 to 3 of 3

Thread: AMD modules?

  1. #1
    Sencha Premium Member
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    53
    Vote Rating
    3
      0  

    Default AMD modules?

    Is there any way to load regular AMD modules / code properly and bundle them in the production build?

    I'm surpised i can't find this question in the first place...

    Thanks in advance for any clues!

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,061
    Vote Rating
    1388
      0  

    Default

    Ext.Loader and Cmd do not work with AMD modules. You can add //@define some.class.name and then //@require some.class.name to load non Ext/Touch classes
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha Premium Member
    Join Date
    Jul 2011
    Posts
    48
    Vote Rating
    0
      0  

    Default

    Mitchell,

    I've run into a road block referenced in the following two threads:

    https://www.sencha.com/forum/showthr...e-define-error
    https://www.sencha.com/forum/showthr...-other-loaders

    Is there a way to use the //@define //@require syntax to get over my issues integrating the esri javascript 4.x api which uses dojo AMD classes?

    Thanks
    David

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •