Use jquery,backbone,underscore using requirejs globally?
<p>I tried with following code to include my custom js file using require js </p>

<pre><code>require.config({
    waitSeconds: 0,
    paths: {
       underscore: 'underscore/underscore',
       backbone: "backbone/backbone-min",
        jquery: "jquery/jquery-min",
        customhandler: "jquery/customhandler"
    },
    shim: {
         underscore: {
           deps: ['underscore'],
           exports: '_'
        }
    }
});
</code></pre>

<p>Created separate file <code>customhandler.js</code> and inside i want to use backbone,jquery,underscore</p>

<pre><code>define(['jquery','underscore','backbone'], function($,_,Backbone) {
    //using jquery
    var oldAjax = $.ajax;

    $.ajax = function(options) {
        console.log(options)
         // Do your magic.
         return oldAjax.apply($, arguments);

    }
    //need to use backbone,underscore here
});
</code></pre>

<p>But still i could not get it loaded into my application.Please advise.</p>