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

  • SEARCH
  • Home
  • 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 7817693
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T06:18:59+00:00 2026-06-02T06:18:59+00:00

With require.js, can you specify the order! plugin to be used within the ‘paths’

  • 0

With require.js, can you specify the order! plugin to be used within the ‘paths’ config object? I’m trying to avoid having to type ‘order!’ for several base modules that I always want included in a certain order.

My config:

require.config({
    paths: {
        jquery: 'libs/jquery/jquery-1.7.2.min',
        underscore: 'libs/underscore/underscore-min',
        backbone: 'libs/backbone/backbone-min',
        order: 'libs/require/plugins/order'
    }
});

I tried it this way, but it included the ‘order!’ string in the actual path it was looking up.

require.config({
    paths: {
        jquery: 'order!libs/jquery/jquery-1.7.2.min',
        underscore: 'order!libs/underscore/underscore-min',
        backbone: 'order!libs/backbone/backbone-min',
        order: 'libs/require/plugins/order'
    }
});
  • 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-06-02T06:19:01+00:00Added an answer on June 2, 2026 at 6:19 am

    Check out the AMD forks of Backbone and Underscore, maintained by James Burke who created RequireJS. If you use these versions then you won’t have to use the order plugin!

    More info about these forks…

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

Sidebar

Related Questions

How can you determine which rubygem is being used in response to a require
C# doesn't require you to specify a generic type parameter if the compiler can
In Visual Studio, you can require that an assembly reference match a specific version
How can I require the Address element? If I perform an XSD validation on
How can I rewrite Apple's GLCameraRipple example so that it doesn't require iOS 5.0?
Can any user run inline assembly for current linux kernel or does that require
I hope I can explain this right I have two input fields that require
Edit: We can close. Isn't truly asynchronous, non-blocking javascript impossible? var PATH = require
Quick yes/no - I'm building an AJAX application and some scripts require authentication. Can
the following code raises the aforementioned error, how can I fix that? require 'mechanize'

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.