Created
March 6, 2014 23:04
-
-
Save fedevegili/9401652 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl.config({ | |
//By default load any module IDs from js/lib | |
//baseUrl : 'resources/js', | |
baseUrl : 'http://localhost/sesuite/ui/desktop/lite/resources/js', | |
//except, if the module ID starts with "app", | |
//load it from the js/app directory. paths | |
//config is relative to the baseUrl, and | |
//never includes a ".js" extension since | |
//the paths config could be for a directory. | |
paths: { | |
libs : '../libs', | |
jquery : "../libs/jquery/jquery", | |
bootstrap : { | |
location: '../libs/bootstrap/js/bootstrap', | |
config: { | |
// use the legacy loader | |
loader: '../../node_modules/cram/amd_modules/curl/src/curl/loader/legacy.js', | |
// remove Backbone global! yes! | |
exports: '$', | |
// make sure jQuery is loaded | |
requires: ['jquery'] | |
} | |
}, | |
loadmask : '../libs/loadmask/jquery.loadmask.min', | |
toastr : "../libs/toastr/toastr", | |
hogan : "../../node_modules/hogan.js/web/builds/2.0.0/hogan-2.0.0.min.amd.js", | |
templates : "../../dist" | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment