Edit in JSFiddle

/*!
 * author : Deepu Mohan Puthrote
 * Copyright 2014, Deepu Mohan Puthrote / http://deepumohan.com/
 * Released under the MIT license
 */

requirejs.config({
    appDir: ".",
    baseUrl: "js",
    paths: { 
        /* Load jquery from cdnjs. On fail, load local file. */
        'jquery': ['//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min', 'libs/jquery-min'],
        /* Load bootstrap from cdnjs. On fail, load local file. */
        'bootstrap': ['//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.3/js/bootstrap.min', 'libs/bootstrap-min']
    },
    shim: {
        /* Set bootstrap dependencies (just jQuery) */
        'bootstrap' : ['jquery']
    }
});

require(['jquery', 'bootstrap'], function($) {
    console.log("Loaded :)");    
    $("#message").html('Loaded scripts using requirejs!');
    return {};
});
<em>Here requriejs is loaded as external resource in jsfiddle</em>
<br/><br/><br/>
<div id="message"></div>

              
            
          
            
              

External resources loaded into this fiddle: