Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7064549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:50:53+00:00 2026-05-28T04:50:53+00:00

I am upgrading a project from Dojo 1.6.1 using AMD and RequireJS to Dojo

  • 0

I am upgrading a project from Dojo 1.6.1 using AMD and RequireJS to Dojo 1.7.1 with its new AMD loader. I have to deal with old JavaScript files, not written as AMD modules, and have to load them in the correct order.

Before I used the RequireJS order plugin, but it does not seem to work with Dojo AMD Loader. I can not find anything about it in the loader documentation or the Dojo Build System documentation.

Any thoughts about this? If there is no order plugin, how should I handle plain JavaScript files together with Dojo 1.7? Do I need to handle them separately, or are there functionality for this in the loader or build system?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T04:50:54+00:00Added an answer on May 28, 2026 at 4:50 am

    I’m just learning about this myself, but the documentation I found refers to Generic Script Injection

    Load your generic scripts as described in the docs, while specifying {async: 0} as a configuration option for require(). This, to my understanding, does load the scripts in the order that you specify in the the second parameter (the array containing the script filenames/paths)

    My example:

    require({async:0},['test1.js','test2.js','test3.js'],function(){
        //do stuff with reference to loaded scripts
    
    });
    

    My local tests show if I change config to {async: 1} the scripts load in a different order to what I specified. So far I haven’t tracked this down in the dojo loader code, but it seems to make sense, and work, and isn’t a hack.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are upgrading our project from Delphi 2006 to Delphi 2010. Old code was:
I'm upgrading a project from NServiceBus 2.6 to 3.0. We have code similar to
I have a project that I'm upgrading from 2008 to 2010. My problem is
I am upgrading a project from EntLib 4.1 to EntLib 5. I've skimmed through
I recently upgraded a C# project from .NET 3.5 to .NET 4. I have
I have an InstallScript project written from scratch in InstallShield 2010. It contains, amongst
After upgrading a project from Flex4 Beta1 to Beta2, I've found that the background-image
I am upgrading my project from GWT 2.3.0 to 2.4.0. As a side affect,
I am upgrading a project from Delphi 2009 to D2010 and came across the
I'm upgrading libraries on my project and upgraded pdfbox from 0.6.7 to version 1.6.0

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.